809eca9d |
1 | puts "============" |
2 | puts "OCC22306" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Fuse between cylinder and sphere produces not vallid result |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC22306 |
10 | |
11 | puts "Load first shape ..." |
12 | restore [locate_data_file OCC22306-cyl.brep] b1 |
13 | |
14 | puts "Load second shape ..." |
15 | restore [locate_data_file OCC22306-sph.brep] b2 |
16 | |
17 | puts "Prepare boolean operation ..." |
18 | bop b1 b2 |
19 | |
20 | puts "Start boolean operation ..." |
21 | bopsection result |
22 | puts "Finish boolean operation ..." |
23 | |
58cf74e0 |
24 | checkprops result -l 26.4582 |
25 | checkshape result |
26 | checksection result |
809eca9d |
27 | |
a4eba920 |
28 | checknbshapes result -vertex 3 -edge 3 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 7 |
5747059b |
29 | checkview -display result -3d -path ${imagedir}/${test_image}.png |