I'm working on a problem how to determine if one edge is adjacent to another edge. here is my working code so far.
The purpose will be to automatically detect the most logical folding edge to use as a pivot point for the mesh. I made a diagram showing what I'm trying to do. in this example polygon B will detect edge 1 and polygon C will detect edge 2 here is my working code. http://pastebin.com/b8MAEV7S I have all the centers of the edges stored as a dictionary, but I'm not sure how to compare the center values against one another. I split each polygon into a new object and then create a hierarchy so that each object will look to its parent to compare edges. hopefully this makes sense, I'm kind of going off on lots of wild goose chases to figure the best way to create this script. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
<<attachment: EdgeDiagram.PNG>>
