blob: a729b32b99bb4c36a5472fea07b6e507495a77a6 [file] [edit]
puts "============"
puts "OCC25354"
puts "============"
puts ""
#######################################################################
# Intersection operation
#######################################################################
# Case 18
restore [locate_data_file bug25354_f1.brep] b1
restore [locate_data_file bug25354_f2.brep] b2
ttranslate b2 -6 4 -3
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