schwett
05-05-2005, 07:32 AM
apologies in advance for what seems like it should be very simple. i searched quite a bit and found a few similar references but they seem so complex, there must be an easier way.
i am writing a script to automate the abstract modeling of large portions of a city based on certain zoning criteria and varying degrees of randomness. i've never used maxscript before but have been using max forever.
one part of this requires that i select faces within a mesh and move them some distance relative to their normals.
so i do something like :
in Coordsys local (move whatever.faces [0,0,-10])
but that doesn't move the faces relative to the local normals of the faces. so then i tried
select whatever.faces[#{7..8}]
in Coordsys local (move whatever.faces [0,0,-10])
but no luck there either. it's clearly moving the faces in the world z.
what do i need to do to get the move command to move faces relative to their own normal? e.g. moving them in a negative direction along z will push them towards the inside of a box.
thanks in advance!
i am writing a script to automate the abstract modeling of large portions of a city based on certain zoning criteria and varying degrees of randomness. i've never used maxscript before but have been using max forever.
one part of this requires that i select faces within a mesh and move them some distance relative to their normals.
so i do something like :
in Coordsys local (move whatever.faces [0,0,-10])
but that doesn't move the faces relative to the local normals of the faces. so then i tried
select whatever.faces[#{7..8}]
in Coordsys local (move whatever.faces [0,0,-10])
but no luck there either. it's clearly moving the faces in the world z.
what do i need to do to get the move command to move faces relative to their own normal? e.g. moving them in a negative direction along z will push them towards the inside of a box.
thanks in advance!
