Looking for edgering calculation algorithm for n-gons. The formula i used so far was: opposit_edge_index = all_edges[ (edge_CCW_index + (len(all_edges) / 2) ) % len(all_edges) ] For example if we want to find opposite hour to 9 am via this formula we got: opposit_hour_index = 12[ (9 + (12 / 2) ) % 12 ] = 3
Unfortunately this formula approach is not the same XSI native edge ring uses. http://c2n.me/3Liop7C I perform edge ring selection in direction (1) > (2) edge. And as you can see the opposite to 11 edge is edge with number 40. But according formula above it should be edge number 51. The friend of mine suggest that XSI use angle in opposite edge calculation. But i suppose that any angle calculation in edge ring would gave us very inaccurate results.
------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.