f1aa2b62 |
1 | |
2 | puts "========================" |
3 | puts " OCC600" |
4 | puts "========================" |
5 | ## Result of BOPCOMMON operation is unclosed shape inspite of source solids are valid |
6 | ############################################################ |
7 | cpulimit 5000 |
8 | restore [locate_data_file OCC600_1.brep] a |
352ffd73 |
9 | checkshape a |
f1aa2b62 |
10 | restore [locate_data_file OCC600_2.brep] b |
352ffd73 |
11 | checkshape b |
f1aa2b62 |
12 | bop b a |
13 | |
14 | bopcommon result |
15 | |
ed9ce677 |
16 | set square 41970.8 |
17 | |
18 | set nbshapes_expected " |
19 | Number of shapes in shape |
20 | VERTEX : 55 |
21 | EDGE : 93 |
22 | WIRE : 40 |
23 | FACE : 40 |
24 | SHELL : 1 |
25 | SOLID : 1 |
26 | COMPSOLID : 0 |
27 | COMPOUND : 1 |
28 | SHAPE : 231 |
29 | " |
30 | checknbshapes result -ref ${nbshapes_expected} -t -m "Result of Boolean operations" |
31 | |
2f772104 |
32 | checkprops result -s 41970.8 |
33 | |
34 | checkshape result |
35 | |
f1aa2b62 |
36 | set 2dviewer 0 |