]> OCCT Git - occt-copy.git/commit
0029073: Regression: General Cut produces invalid shape
authoremv <emv@opencascade.com>
Fri, 15 Sep 2017 06:31:40 +0000 (09:31 +0300)
committernbv <nbv@opencascade.com>
Thu, 19 Apr 2018 12:33:38 +0000 (15:33 +0300)
commitf109d88899add8ef867cdfdc929c267846442015
tree8abbb03c9f3a62f5bf3f352c413710b6514f602b
parentd2c909178edea381a99889edd7d75b57f4cdf4d3
0029073: Regression: General Cut produces invalid shape

Boolean Operations:
1. Face/Face intersection post treatment - Unify vertices put on the section curves, which were rejected as existing ones, with the vertices of edges by which these section curves have been rejected.

2. Extend Warnings Reporting system of Boolean operations with the new warnings:
- BOPAlgo_AlertIntersectionOfPairOfShapesFailed - to be added when the intersection of pair of sub-shapes of the arguments has failed;
- BOPAlgo_AlertBuildingPCurveFailed - to be added when the building of the 2D curve of the edge on face has failed;
- BOPAlgo_AlertAcquiredSelfIntersection - to be added when the positioning and tolerances of the arguments leads to creation of self-interfered shapes.

These new warnings allow completing the operation even if intersection of some of the sub-shapes or building of some of the PCurves has failed. Moreover, they allow getting the pairs of sub-shapes on which the intersection/projection has failed, providing the user ability to analyze the intersection results.

Note that if some of these warnings appear, the result of the operation should be carefully analyzed for validity.

3. Print messages for the Warnings/Errors met during checking of the shape on self-intersection ("bopcheck" command).

(cherry picked from commit ad8b073e19cc8bdbc99526d5d5e1e75b069dd62e)
17 files changed:
adm/cmake/occt_resources.cmake
src/BOPAlgo/BOPAlgo.msg
src/BOPAlgo/BOPAlgo_Alerts.hxx
src/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx
src/BOPAlgo/BOPAlgo_PaveFiller.hxx
src/BOPAlgo/BOPAlgo_PaveFiller_11.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_2.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_4.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx
src/BOPTest/BOPTest_CheckCommands.cxx
tests/bugs/modalg_7/bug25879
tests/bugs/modalg_7/bug29073 [new file with mode: 0644]
tests/bugs/moddata_3/bug25693_1
tests/bugs/moddata_3/bug25693_2