blob: 1366767b2e87a4c1c4ca9e5210225d34f4506ec9 [file] [edit]
puts "============"
puts "OCC25354"
puts "============"
puts ""
#######################################################################
# Intersection operation
#######################################################################
# Case 22
restore [locate_data_file bug25354_e1.brep] b1
box b2 10 10 10
ttranslate b1 -10 3 4
bop b1 b2
bopsection result
checknbshapes result -vertex 1 -edge 0 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 2
checkview -display result -2d -path ${imagedir}/${test_image}.png