Tue, 12/15/2020 - 13:19
Forums:
I want to collect the contours and the islands from the selected edges.
I am doing it in this way.
1- Get the edge list from screen
2- Sort list by checking connection status and collect together the connected ones. Also i need to check the orientation of edge.
After that i have a list of list (contours & islands)
This solution is a little bit complex.
There should be a ready to use class in OCC about the subject.
I tried BRep_Builder::MakeWire but it is not correcting the orientations. Because finally i want to explore the connected edges (~wire) by giving a parameter like Geom_Curve::Value(aParam).
Any ideas?
Mon, 12/21/2020 - 11:09
Perhaps you may want to create a faulty wire and then fix it with code like this:
Benjamin
Thu, 12/24/2020 - 00:39
Dear Benjamin,
Thanks for your answer. I found a way like this;