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

23 lines
557 B
Plaintext
Executable File

puts "============"
puts "CR23389"
puts "============"
puts ""
###################################################################################
# BRepAlgoAPI_Cut returns invalid solid
###################################################################################
restore [locate_data_file CR23389-blade3.brep] b
explode b
checkshape b_1
checkshape b_2
bopcheck b_1
bopcheck b_2
bopargcheck b_1 b_2
bop b_1 b_2
bopcut result
checkprops result -s 53698.1
checkview -display result -2d -otherwise { b_1 b_2 } -s -path ${imagedir}/${test_image}.png