3dffe5f2 |
1 | puts "========" |
2 | puts "OCC28195" |
3 | puts "========" |
4 | puts "" |
5 | ################################################################################################## |
6 | # Boolean common returns empty result for a solid where some surfaces of revolution touch the axis |
7 | ################################################################################################## |
8 | |
9 | restore [locate_data_file bug28195_solidsOK.brep] s |
10 | |
11 | whatis s |
12 | |
13 | explode s |
14 | checkshape s |
15 | bopcheck s_1 |
16 | bopcheck s_2 |
17 | |
18 | bopargcheck s_1 s_2 -O #F |
19 | bop s_1 s_2 |
20 | bopcommon r |
21 | |
22 | whatis r |
23 | explode r |
24 | checkshape r_1 |
25 | nbshapes r_1 |
26 | |
27 | checkview -display r_1 -2d -path ${imagedir}/${test_image}-2d.png |
28 | checkview -display r_1 -3d -path ${imagedir}/${test_image}-3d.png |