occt: master 948fe6ca

Author Committer Branch Timestamp Parent
emv bugmaster master 2018-04-26 11:35:35 master 894dba72
Changeset 0028747: Incorrect result of the section operation after edge refinement

Implementation of the method for simplification of the result of Boolean Operation on the API level.
The method BRepAlgoAPI_BuilderAlgo::SimplifyResult has been added, so the derived classes such as BooleanOpeation and Splitter can also use this method.
The result shape simplification should be called after the operation is done. The simplification is performed by the means of ShapeUpgrade_UnifySameDomain algorithm.

Draw command "bsimplify" has been added to control the simplification options.
Documentation for new functionality and draw commands controlling the options of Boolean operations.
Test cases for the new functionality.

Side-effect change:
The algorithms in Boolean component have been changed to use the BRepTools_History as a History tool.
Now it became possible to disable the collection of shapes modifications during Boolean Operations, which may be useful for performance sake (in draw the option is controlled by *setfillhistory* command).
Draw command "unifysamedom" has been changed to accept the angular tolerance in degrees instead of radians.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - dox/user_guides/boolean_operations/boolean_operations.md Diff File
add - dox/user_guides/boolean_operations/images/bop_simple_001.png Diff File
add - dox/user_guides/boolean_operations/images/bop_simple_002.png Diff File
mod - dox/user_guides/draw_test_harness/draw_test_harness.md Diff File
mod - dox/user_guides/modeling_algos/modeling_algos.md Diff File
mod - src/BOPAlgo/BOPAlgo_Builder.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Builder.hxx Diff File
rm - src/BOPAlgo/BOPAlgo_BuilderShape.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_BuilderShape.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_Builder_4.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_CellsBuilder.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_CellsBuilder.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_RemoveFeatures.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_RemoveFeatures.hxx Diff File
mod - src/BOPAlgo/FILES Diff File
mod - src/BOPTest/BOPTest_APICommands.cxx Diff File
mod - src/BOPTest/BOPTest_BOPCommands.cxx Diff File
mod - src/BOPTest/BOPTest_CellsCommands.cxx Diff File
mod - src/BOPTest/BOPTest_Objects.cxx Diff File
mod - src/BOPTest/BOPTest_Objects.hxx Diff File
mod - src/BOPTest/BOPTest_OptionCommands.cxx Diff File
mod - src/BOPTest/BOPTest_PartitionCommands.cxx Diff File
mod - src/BOPTest/BOPTest_RemoveFeaturesCommands.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.hxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BuilderAlgo.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BuilderAlgo.hxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Defeaturing.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Defeaturing.hxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Splitter.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Splitter.hxx Diff File
mod - src/BRepFeat/BRepFeat_Builder.cxx Diff File
mod - src/BRepTest/BRepTest_FeatureCommands.cxx Diff File
mod - src/BRepTest/BRepTest_FilletCommands.cxx Diff File
mod - src/BRepTest/BRepTest_HistoryCommands.cxx Diff File
mod - src/BRepTest/BRepTest_Objects.cxx Diff File
mod - src/BRepTest/BRepTest_Objects.hxx Diff File
mod - src/BRepTest/BRepTest_SweepCommands.cxx Diff File
mod - src/BRepTools/BRepTools_History.cxx Diff File
mod - src/BRepTools/BRepTools_History.hxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeUpgrade.cxx Diff File
mod - tests/boolean/grids.list Diff File
add - tests/boolean/history/A9 Diff File
add - tests/boolean/simplify/A1 Diff File
add - tests/boolean/simplify/A2 Diff File
add - tests/boolean/simplify/A3 Diff File
add - tests/boolean/simplify/A4 Diff File
add - tests/boolean/simplify/A5 Diff File
mod - tests/bugs/heal/bug27729 Diff File
mod - tests/bugs/modalg_6/bug28207 Diff File
mod - tests/bugs/modalg_6/bug28343_1 Diff File
mod - tests/bugs/modalg_6/bug28343_2 Diff File
mod - tests/perf/modalg/bug26513 Diff File
mod - tests/perf/modalg/bug29237_1 Diff File
mod - tests/perf/modalg/bug29237_2 Diff File
mod - tests/perf/modalg/bug29237_3 Diff File