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

8 lines
328 B
Plaintext

puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_2"
restore [locate_data_file CTO908_topo101-o2.brep] obj2
restore [locate_data_file CTO908_topo101-t2.brep] tool2
bcut result obj2 tool2
checkprops result -s 15696.8
checkview -display result -2d -s -otherwise { obj2 tool2 } -path ${imagedir}/${test_image}.png