mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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.
9 lines
329 B
Plaintext
9 lines
329 B
Plaintext
puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_2"
|
|
|
|
restore [locate_data_file CTO908_topo101-o1.brep] obj1
|
|
restore [locate_data_file CTO908_topo101-t1.brep] tool1
|
|
|
|
bcut result obj1 tool1
|
|
checkprops result -s 18467.3
|
|
checkview -display result -2d -s -otherwise { obj1 tool1 } -path ${imagedir}/${test_image}.png
|