blob: 3551bf14a9e9084512177f5d8464d47ec4be9c94 [file] [edit]
puts "============"
puts "OCC25354"
puts "============"
puts ""
#######################################################################
# Intersection operation
#######################################################################
# Case 17
restore [locate_data_file bug25354_f1.brep] b1
restore [locate_data_file bug25354_f2.brep] b2
ttranslate b2 -6 4 0
bop b1 b2
bopsection result
checkprops result -l 4
checkshape result
checksection result
checknbshapes result -vertex 2 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 4
checkview -display result -2d -path ${imagedir}/${test_image}.png