]> OCCT Git - occt-copy.git/commit
0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depen...
authoremv <emv@opencascade.com>
Tue, 26 Feb 2019 11:06:30 +0000 (14:06 +0300)
committeremv <emv@opencascade.com>
Fri, 15 Mar 2019 09:58:13 +0000 (12:58 +0300)
commit1c4b27600f2dbed495dac2dfd0a2cb40e78a31d3
tree3cc09059875adf76e7f82358cabe331f6d8ec312
parent214171ff6069e5fbb0d44ead4d98c4266a3942ad
0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depending on the order of parameters

The following improvements have been implemented in BRepLib_MakeWire class to make it more reliable:
1. Quit adding edges of a wire into result if the current edges have not been added. Return NotDone status.
2. Allow merging not only bounding vertices (connected to only one edge) but also the middle ones, so the multi-connected vertices may appear in the result.

Test case for the issue.
src/BRepLib/BRepLib_MakeWire.cxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepLib/BRepLib_MakeWire_1.cxx
tests/bugs/modalg_7/bug30522 [new file with mode: 0644]