f7d70540 |
1 | puts "============" |
2 | puts "OCC26489" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # The class ShapeUpgrade_UnifySameDomain provides the results that are wrong or difficult to explain. |
7 | ###################################################### |
8 | |
9 | restore [locate_data_file bug26489_p01usd.brep] poly |
10 | |
11 | unifysamedom result poly |
12 | |
13 | set nbshapes_expected " |
14 | Number of shapes in shape |
15 | VERTEX : 4 |
16 | EDGE : 4 |
17 | WIRE : 1 |
18 | FACE : 0 |
19 | SHELL : 0 |
20 | SOLID : 0 |
21 | COMPSOLID : 0 |
22 | COMPOUND : 0 |
23 | SHAPE : 9 |
24 | " |
25 | checknbshapes result -ref ${nbshapes_expected} -t -m "result provided by the class ShapeUpgrade_UnifySameDomain" |
26 | |
27 | vinit |
28 | vsetdispmode 1 |
29 | vclear |
30 | vdisplay result |
31 | vfit |
32 | vdump ${imagedir}/${casename}.png |