0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / heal / bug26489_4
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_r002.brep] b1
10
11 unifysamedom result b1
12
13 savehistory usd_hist
14
15 explode b1 f
16
17 vinit
18 vsetdispmode 1
19
20 modified x1 usd_hist b1_1
21 vclear
22 vdisplay x1
23 vfit
24 vdump ${imagedir}/${casename}_1.png
25
26 modified x2 usd_hist b1_2
27 vclear
28 vdisplay x2
29 vfit
30 vdump ${imagedir}/${casename}_2.png
31
32 modified x3 usd_hist b1_3
33 vclear
34 vdisplay x3
35 vfit
36 vdump ${imagedir}/${casename}_3.png
37
38 set nbshapes_expected "
39 Number of shapes in shape
40  VERTEX    : 4
41  EDGE      : 4
42  WIRE      : 1
43  FACE      : 1
44  SHELL     : 0
45  SOLID     : 0
46  COMPSOLID : 0
47  COMPOUND  : 0
48  SHAPE     : 10
49 "
50 checknbshapes x1 -ref ${nbshapes_expected} -t -m "x1 result provided by the class ShapeUpgrade_UnifySameDomain"
51 checknbshapes x2 -ref ${nbshapes_expected} -t -m "x2 result provided by the class ShapeUpgrade_UnifySameDomain"
52 checknbshapes x3 -ref ${nbshapes_expected} -t -m "x3 result provided by the class ShapeUpgrade_UnifySameDomain"