kubabuk Posted January 14, 2012 Share Posted January 14, 2012 ...and another entry. Take a look at the file for some comments. This may not be that fast solution in more complex setups, but should be good starting point for python rewrite. kuba SolvingComplexPolygons_02_kuba.hipnc Quote Link to comment Share on other sites More sharing options...
edward Posted January 14, 2012 Share Posted January 14, 2012 Sorry, only half paying attention to this thread too. If you figure out a way to break up all the sections of the curve including self intersections in faces, then one idea is to then then test each face to see whether it should be included. For this test, you can take the centroid of the face and then check its winding number with respect to the original curve vertices. (eg. wn_Poly() of http://softsurfer.co...orithm_0103.htm )... Just talking out loud Quote Link to comment Share on other sites More sharing options...
zarti Posted January 14, 2012 Share Posted January 14, 2012 (edited) i am unable to 'totally convince' the Triangulate2d SOP .. mwehh !! i cant believe i didnt gave a chance to clothrefine_SOP .. ironically it lives with the triangulate_SOP on the same submenu ( Cloth ) increasing the Maximum Area a lot far from default value , wd speed up things by generating the minimum number of triangles ( a value of 40 or 50 works nice ) anyway , now the shape seems here to obey nicely to the original curve_SOP . hoping that this solution will work for any shape .. -- -- SolvingComplexPolygonz_02.1.hipnc edit: oops ! the template geometry you are seeing in the picture is from the old triangulate2d_SOP , not from the clothrefine one .. Edited January 14, 2012 by zarti Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.