1 puts "======================================================="
2 puts "0031850: Modeling Algorithms - boolean cut and common generate unexpected result"
3 puts "======================================================="
6 restore [locate_data_file bug31850.brep] s
22 foreach r {r0 r1 r2 r3 r4 rgf} {
24 if {![regexp "OK" [bopcheck $r]]} {
25 puts "Error: the $r is a self-interfering shape"
29 checknbshapes r0 -wire 28 -face 28 -shell 1 -solid 1 -t
30 checkprops r0 -s 1107.94 -v 472.151
32 checknbshapes r1 -wire 50 -face 45 -shell 1 -solid 1 -t
33 checkprops r1 -s 14959.7 -v 37939.8
35 checknbshapes r2 -wire 33 -face 28 -shell 1 -solid 1 -t
36 checkprops r2 -s 5244.61 -v 2516.56
38 checknbshapes r3 -wire 45 -face 45 -shell 1 -solid 1 -t
39 checkprops r3 -s 10823 -v 34951.1
41 checkprops r4 -l 203.491
44 checknbshapes rgf -wire 78 -face 73 -shell 3 -solid 3 -t
45 checkprops rgf -s 17175.6 -v 37939.8
47 checkview -display r0 -2d -path ${imagedir}/${test_image}.png