mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
22 lines
620 B
Plaintext
Executable File
22 lines
620 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23137"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
|
|
##########################################################################################################
|
|
|
|
restore [locate_data_file bug23137_rev_cut.brep] b
|
|
explode b
|
|
copy b_1 b1
|
|
copy b_2 b2
|
|
#to provide positive volume of b1
|
|
invert b1
|
|
|
|
bop b1 b2
|
|
bopcut result
|
|
|
|
checkprops result -s 3452.78
|
|
checkshape result
|
|
checkview -display result -3d -path ${imagedir}/${test_image}.png
|