mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03: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
|