DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

How to split wires with shared edges

Modeling Data and AlgorithmsThu, 08/10/2017 - 06:152 replies

Browse this forum
QuestionAuthor

Hello everyone,

I have a wire showed on the attached picture (wires). How can I create 3 closed wires from it ? When I tried to make 

  ShapeAnalysis_FreeBounds::SplitWires(wires, GLOBAL_TOLERANCE, true, closedWires, openWires);
I've got 1 closed wire and 2 opened wires (as shown at pic2)

Thank you.

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi,

The solution is Boolean operation (General Fuse: https://www.opencascade.com/doc/occt-7.0.0/overview/html/occt_user_guide...) and then proper iterating your fused wires (e.g. with left-turn rule). Not sure if left turn is available in OpenCascade (there is something similar at BRepFeat_SplitShape and also in shape healing), but this is something you can develop from scratch.

02Commenter-2

Hi Author !

Have you found any proper solution to achieve your goal ?

Regards,

Commenter-2