[Closed] Any script that converts edge hardness to smoothing group?
Someone work in Maya, someone work in Max. They share model with OBJ files.
I can export the edge hardness information (hard edge vertices pairs) with MEL from Maya.
Is there a MaxScript that can read this edge hardness information and convert it to smoothing group, or convert smoothing group to hard edge vertices pairs info?
Thanks a lot!
Could you post an example of this (an obj file, plus its accompanying “edge hardness” file)?
Cheers,
Martijn
I have been thinking about it since you first post it, but i cannot see an easy way to do it. max assigns smoothing groups to faces to determine if they’re smooth. maya uses the edge. if you were to go through each edge and see if they are smooth, you would assign the same smoothing group to the faces sharing that edge. (face 1 and 2 for example are assigned smooting group 1)
The next edge could be done similiarly but what if the contigues edge links to the same faces but is hard? that would mean you would reassign the smoothing groups but loosing the data already assigned (face 1 would be assigned smoothing group 1, face 2 would not) At this point the mesh is already incorrect and this is only the 1st 2 faces.
I am quite interested in finding a solution for this.
Hi dutch_delight,
Thank you very much for having been thinking about my question so long. Sometimes when I has an idea, I get up and turn on my light, and draw something on my sketch book.
magicm,
Just create a default cylinder, the vertices pair file is easy to get, see the attachment.