how to move faces in epoly?

In maxscript, I want to move sub faces some distance, Like select some faces in Epoly, then click Move or Rotate or Scale button to transform, In Maxscript help, I can only find Polyop.MoveVert for move verts, and Node.pos which is only for move Node not for sub-objects. Can anybody give a hint where to find functions about transforming sub-objects?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

As I know, there no that

As I know, there no that function but you can use different method - get vertices from selected polygon and use build-in function for vertices.

my recent MAXScripts RSS (archive here)

linmin9's picture

right, that what I thought

right, that what I thought at beginning, have to get vertexs from face selection. and use vertex function to do face transform, it is still hard that way. kind of werld, they don't provide faces transform function while there is bottons for that task in UI, sub-obj transform is such a regular task of edit poly and script people can live well along without this?

Anubis's picture

If faces you want to move is

If faces you want to move is selected use:
move $.selectedFaces [Point3]

-- next code will move selectedFaces +5 by Z
move $.selectedFaces [0,0,5]

my recent MAXScripts RSS (archive here)

linmin9's picture

thanks for picking it out

thanks for picking it out from script doc. and what about rotate or scale faces? I think there should be functions group for all method of transforming sub-objects instead of putting move-faces function alone in facelist collection class.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.