a4eba920 |
1 | puts "TODO OCC12345 ALL: Error : is WRONG because number of" |
352ffd73 |
2 | |
3 | puts "============" |
4 | puts "OCC4717" |
5 | puts "============" |
6 | puts "" |
7 | ###################################################### |
8 | # A regression of new Boolean Operations |
9 | # (cfi/002/H3) |
10 | ###################################################### |
11 | |
12 | dset SCALE1 10 |
13 | protect SCALE1 |
14 | |
15 | box b -20 -20 -20 40 40 20 |
16 | ellipse w1 0 0 0 15 10 |
17 | mkedge w1 w1 -pi/2 pi/2 |
18 | trotate w1 0 0 0 1 0 0 90 |
19 | wire w w1 |
20 | revol r w 0 0 0 0 0 1 360 |
21 | shape s So |
22 | add r s |
23 | trotate s b 0 0 0 1 1 0 -40 |
24 | trotate s b 0 0 0 0 0 1 -10 |
25 | tscale b 0 0 0 SCALE1 |
26 | tscale s 0 0 0 SCALE1 |
27 | |
28 | bop s b |
29 | bopcut result |
30 | |
58cf74e0 |
31 | checkprops result -s 181937 |
32 | checkshape result |
352ffd73 |
33 | |
a4eba920 |
34 | checknbshapes result -vertex 3 -edge 4 -wire 2 -face 2 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 14 |
5747059b |
35 | checkview -display result -2d -path ${imagedir}/${test_image}.png |