occt: master 0c09fd3c

Author Committer Branch Timestamp Parent
emv apn master 2018-04-12 13:22:34 master 53a73fc1
Changeset 0029692: Add functionality to make the group of touching same-dimensional shapes connected

Implementation of the new class *BOPAlgo_MakeConnected* for making the group of touching same-dimensional shapes connected.
Provide the material association for the first sub-elements of the input shapes.
Provide possibility to make the connected shape periodic.

Draw commands for new algorithm:
* makeconnected - make the input shapes connected or glued, performs material associations;
* cmaterialson - returns the materials located on the requested side of a shape;
* cmakeperiodic - makes the connected shape periodic in requested directions;
* crepeatshape - repeats the periodic connected shape in requested directions requested number of times;
* cperiodictwins - returns all periodic twins for the shape;
* cclearrepetitions - clears all previous repetitions of the periodic shape, keeping the shape periodic.

Documentation & test cases for the new algorithm.
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.msg Diff File
mod - src/BOPAlgo/BOPAlgo_Alerts.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx Diff File
add - src/BOPAlgo/BOPAlgo_MakeConnected.cxx Diff File
add - src/BOPAlgo/BOPAlgo_MakeConnected.hxx Diff File
mod - src/BOPAlgo/FILES Diff File
mod - src/BOPTest/BOPTest.cxx Diff File
mod - src/BOPTest/BOPTest.hxx Diff File
add - src/BOPTest/BOPTest_MkConnectedCommands.cxx Diff File
mod - src/BOPTest/BOPTest_PeriodicityCommands.cxx Diff File
mod - src/BOPTest/FILES Diff File
mod - tests/boolean/grids.list Diff File
add - tests/boolean/mkconnected/A1 Diff File
add - tests/boolean/mkconnected/A2 Diff File
add - tests/boolean/mkconnected/A3 Diff File
add - tests/boolean/mkconnected/A4 Diff File
add - tests/boolean/mkconnected/A5 Diff File