b4d4dbe8 |
1 | puts "========================" |
2 | puts " OCC26219" |
3 | puts "========================" |
4 | puts "" |
5 | ########################################################### |
6 | ## ShapeUpgrade_UnifySameDomain fails with StdFail_NotDone exception |
7 | ########################################################### |
8 | |
9 | restore [locate_data_file bug26219_unifysamedomain.valid_input.brep] p |
10 | |
11 | # ----------------------------------------------------------------------------- |
12 | # Attempt to simplify the model |
13 | # ----------------------------------------------------------------------------- |
14 | |
15 | set nbshapes_before_simplify " |
16 | Number of shapes in shape |
17 | VERTEX : 200 |
18 | EDGE : 348 |
19 | WIRE : 150 |
20 | FACE : 150 |
21 | SHELL : 1 |
22 | SOLID : 1 |
23 | COMPSOLID : 0 |
24 | COMPOUND : 1 |
25 | SHAPE : 851 |
26 | " |
27 | checknbshapes p -ref ${nbshapes_before_simplify} -t -m "result before attempt to simplify the model" |
28 | |
29 | axo; donly p; fit |
30 | xwd ${imagedir}/${casename}_1.png |
31 | |
32 | unifysamedom p p |
33 | |
34 | set nbshapes_after_simplify " |
35 | Number of shapes in shape |
26ca3bd5 |
36 | VERTEX : 128 |
37 | EDGE : 192 |
b4d4dbe8 |
38 | WIRE : 66 |
39 | FACE : 66 |
40 | SHELL : 1 |
41 | SOLID : 1 |
42 | COMPSOLID : 0 |
43 | COMPOUND : 1 |
26ca3bd5 |
44 | SHAPE : 455 |
b4d4dbe8 |
45 | " |
46 | checknbshapes p -ref ${nbshapes_after_simplify} -t -m "result after attempt to simplify the model" |
47 | |
48 | xwd ${imagedir}/${casename}_2.png |