1 puts "======================================================="
2 puts "0031306: Modeling Algorithms - Incomplete result of Cut operation"
3 puts "======================================================="
6 restore [locate_data_file bug31306_argument.brep] s1
7 restore [locate_data_file bug31306_tool.brep] s2
21 foreach r {r0 r1 r2 r3 r4} {
23 if {![regexp "OK" [bopcheck $r]]} {
24 puts "Error: the $r is a self-interfering shape"
28 checknbshapes r0 -wire 0 -face 0
30 checknbshapes r1 -wire 41 -face 40 -t
31 checkprops r1 -s 244.474
33 checknbshapes r2 -wire 3 -face 2 -t
34 checkprops r2 -s 228.338
36 checknbshapes r3 -wire 38 -face 38 -t
37 checkprops r3 -s 16.1362
39 checkprops r4 -l 40.2015
42 checkview -display r1 -2d -path ${imagedir}/${test_image}.png