]> OCCT Git - occt-copy.git/commit
0029692: Add functionality to make the group of touching same-dimensional shapes...
authoremv <emv@opencascade.com>
Thu, 12 Apr 2018 13:22:34 +0000 (16:22 +0300)
committeremv <emv@opencascade.com>
Fri, 7 Dec 2018 06:39:31 +0000 (09:39 +0300)
commit868642aebcf9f88d45f57c87907b6f90736955f0
treef26f5cfe150498bd2c3c739731086816ea92fd32
parent3f96b7411e2d03d9dc7ed31df236c43dc5d04642
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.
19 files changed:
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/modeling_algos/modeling_algos.md
src/BOPAlgo/BOPAlgo.msg
src/BOPAlgo/BOPAlgo_Alerts.hxx
src/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx
src/BOPAlgo/BOPAlgo_MakeConnected.cxx [new file with mode: 0644]
src/BOPAlgo/BOPAlgo_MakeConnected.hxx [new file with mode: 0644]
src/BOPAlgo/FILES
src/BOPTest/BOPTest.cxx
src/BOPTest/BOPTest.hxx
src/BOPTest/BOPTest_MkConnectedCommands.cxx [new file with mode: 0644]
src/BOPTest/BOPTest_PeriodicityCommands.cxx
src/BOPTest/FILES
tests/boolean/grids.list
tests/boolean/mkconnected/A1 [new file with mode: 0644]
tests/boolean/mkconnected/A2 [new file with mode: 0644]
tests/boolean/mkconnected/A3 [new file with mode: 0644]
tests/boolean/mkconnected/A4 [new file with mode: 0644]
tests/boolean/mkconnected/A5 [new file with mode: 0644]