1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_2/bug23137_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

22 lines
621 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_bspl_cut.brep] b
explode b
copy b_1 b1
copy b_2 b2
#to provide positive volume of b2
invert b2
bop b1 b2
bopcut result
checkprops result -s 44460.7
checkshape result
checkview -display result -3d -path ${imagedir}/${test_image}.png