6f1ea0f4 |
1 | puts "TODO OCC24694 ALL: Result is WRONG because number of SHELL entities in shape \"result\" is 2" |
2 | puts "TODO OCC24694 ALL: Result is WRONG because number of SOLID entities in shape \"result\" is 2" |
3 | |
882e1d11 |
4 | puts "==========" |
5 | puts "OCC26938 " |
6 | puts "==========" |
7 | puts "" |
8 | ##################################################### |
9 | # Boolean operations fail between two ellipsoids |
10 | ##################################################### |
11 | |
12 | restore [locate_data_file bug26938.brep] a |
13 | explode a |
14 | |
15 | bcut result a_2 a_1 |
16 | |
17 | # Check shape validity |
18 | checkshape result |
19 | |
20 | # Check area |
21 | checkprops result -s 4.86143e+006 |
22 | |
23 | # Check self-intersection |
24 | set info [bopcheck result] |
25 | if { [regexp "This shape seems to be OK" ${info}] != 1 } { |
26 | puts "Error : The result of cut operation is self-interfered shape" |
27 | } |
28 | |
6f1ea0f4 |
29 | checknbshapes result -solid 3 -shell 3 -t -m "Result" |
30 | |
882e1d11 |
31 | checkview -display result -2d -path ${imagedir}/${test_image}.png |