so playing with mario's script, i was wondering how to select a mesh via maxscript then apply it a vertex weld with 0.1 threshold and finally the normal modifier with unify=1 and flip = 0
all in a script if it is possible ?
Page 1 of 1
max script how to do this or that ?
#3
Posted 13 March 2010 - 04:08 AM
chrrox knows more then me. but the max help me file includes samples..
here's what I was able to piece together
only works on a single object in the scene.. must be named box01
but i'm sure there's another way to retrieve the names of the scenes objects.. and loop this operation said times, on said objects.. but I don't know how
here's what I was able to piece together
CODE
obj = $Box01
vs=getVertSelection obj
subobjectLevel = 1
select obj.verts[vs]
meshop.weldVertsByThreshold obj vs 0.001
max modify mode
addModifier obj (Normalmodifier ())
$.modifiers[#Normal].flip = off
$.modifiers[#Normal].unify = on
vs=getVertSelection obj
subobjectLevel = 1
select obj.verts[vs]
meshop.weldVertsByThreshold obj vs 0.001
max modify mode
addModifier obj (Normalmodifier ())
$.modifiers[#Normal].flip = off
$.modifiers[#Normal].unify = on
only works on a single object in the scene.. must be named box01
but i'm sure there's another way to retrieve the names of the scenes objects.. and loop this operation said times, on said objects.. but I don't know how
http://mariokart64n.mybrute.com/cellule

♥♥♥ Nozomi Sasaki & Hwang Mi Hee ♥♥♥
Numpad for nunchuk emulation.
-Keyboard arrows for the D-pad.
-'S' shakes the Wiimote.
-A/B/1/2 are all mapped to their respective chars on the keyboard.
-A/B are also on the two primary buttons of a mouse.
-+ is 'P', - is 'M'.
Canada Bans Talking to Children
"we are quickly becoming a more, and more pathetic society. Is it really a good thing to make
adults so paranoid about even speaking to children? I feel like I'm going to be arrested for even smiling/waving at one x_x..."
-sankakucomplex.com
http://www.ctv.ca/servlet/ArticleNews/stor...1203?hub=Canada
Share this topic:
Page 1 of 1

Help


MultiQuote











