1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
emv 13c0e40223 0030145: Modeling Algorithms - Boolean Operations on open solids
Provide possibility to perform Boolean operations on open solids.

Implementation of the new method *BOPAlgo_Builder::BuildBOP* performing the construction of the result shape for the given type of Boolean operation.
This approach does not rely on the splits of solid to be correct and looks for the faces with necessary state relatively opposite solids to build the result solid.
The call to this method is performed from BOP algorithm in case there were open solids in the arguments.

Implementation of the draw command *buildbop* performing a call to the method above.
2018-10-03 19:21:14 +03:00

9 lines
320 B
Plaintext

puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_2"
restore [locate_data_file CTO908_topo103-o.brep] obj
restore [locate_data_file CTO908_topo103-t.brep] tool
bcut result obj tool
checkprops result -s 133676
checkview -display result -2d -s -otherwise { obj tool } -path ${imagedir}/${test_image}.png