Reset rotation/pivot Axis to match face normal

just cant figure this out with the tools in max
im hoping there is a way to do this in script

create a sphere
edit mesh
explode with value set to 1

i need to be able to rotate each object (lots) around its axis (centre will do)
except the objects axis is not aligned to each face so rotate doesnt work
the x axis needs to be the same as the face normal at aligned at the face

im basically trying to create a curtain wall system with some opening windows
the wall goes in a 3 different curved planes.

pivoted to top of face normal would be ideal but middle is fine.

anyone have any ideas.
cheers

Jacob

Comments

Comment viewing options

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

double post and possible fix

sorry about the double post, not sure why that happened

anywho

found this script and looks like to may do what i need, will test further.

http://www.scriptspot.com/3ds-max/scripts/detach-faces-v2

ill come back if its not working how i need

Comment viewing options

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