f3981c67 |
1 | puts "============" |
2 | puts "OCC22793" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # Boolean cut operation hangs computer |
7 | ###################################################### |
8 | |
9 | restore [locate_data_file bug22793_Positive.brep] p |
10 | restore [locate_data_file bug22793_Void.brep] v |
11 | |
12 | checkshape p |
13 | tolerance p |
14 | |
15 | checkshape v |
16 | tolerance v |
17 | |
18 | bop p v |
19 | bopcut result |
20 | |
58cf74e0 |
21 | checkprops result -s 1.89516e+07 |
22 | checkshape result |
f3981c67 |
23 | |
24 | set nbshapes_expected " |
25 | Number of shapes in result |
26 | VERTEX : 16 |
27 | EDGE : 24 |
28 | WIRE : 10 |
29 | FACE : 10 |
30 | SHELL : 1 |
31 | SOLID : 1 |
32 | COMPSOLID : 0 |
33 | COMPOUND : 1 |
34 | SHAPE : 63 |
35 | " |
ecd58be6 |
36 | checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation" |
f3981c67 |
37 | |
5747059b |
38 | checkview -display result -2d -path ${imagedir}/${test_image}.png |