Hey guys,
I thought i'd start using StrokeIt together with max, so i thought of some nice ways to set it all up. (mouse gestures > faster workflow).
but to make a stroke do something i want it to do, i need the action assigned to a shortcut key (which i can then prompt from strokeit).
So i need a little script that i can then assign to a shortcut.
what i want the script to do:
-select all the faces
-make them all of smoothing group 1
i want this because i find it very annoying to have to scroll down and up all the time in the modifier panel.
can anyone point me in the direction of this really simple scripting? showing me how it's done would be great, but it might be good too to link to some simple tutorials for scripting so i don't have to ask myself.
i'm pretty sure that its something like: $smoothing group = 1 or something similar but i have no idea.
maybe this could be a "simple script thread". where you post little scripts that help speed up your workflow?
Replies
EDIT: Slum beat me to it but mine is only one line and doesn't change your selection :P
http://cgempire.com/forum/tutorials-110/even-artists-can-write-funky-maxscripts-391.html
muhahah i chose slum's name, with RobG's code and sortof merged it all together.
do you always have to put:
macroscript: smoothtastic
category: blabla
in front of every script?
Psyk0: wow great link, i'm definately gonna follow that tutorial some time.
soon i'll be writing stuff like this myself without a problem .
EDIT: The page is blank :P
Haha Slum just got that one.
So yeah,japhir,we should really look into writing our own scripts eh.
Smooth= assigns all faces to one smoothing group; Hard= assigns all adjoining faces to seperate smoothing groups; and 30= mixes the smoothing and hard based on the angle of the adjoining faces.
If you can get a hold of polyboost it will probably give you shortcuts to all sorts of things you didn't even consider before. It's a real time saver for sure.
--Runtime error: EPoly face index out of range: <1 or> 14:15
the exact code i'm using:
works like a charm again. thanks!