0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_6 / bug26150_15
1 puts "============"
2 puts "OCC26150"
3 puts "============"
4 puts ""
5 #########################################################################
6 # BRepOffsetAPI_ThruSections doesn't implement history method Generated()
7 #########################################################################
8
9 restore [locate_data_file bug27386_pr2.brep] pr2
10 polyline pr1 5 0 0  5 -5 0  -5 -5 0  -5 0 0
11 explode pr2
12 wire pr2 pr2_1 pr2_2
13 circle cc 0 100 0  5
14 trim cc cc 0 pi
15 mkedge cc cc
16 wire pr3 cc
17 beziercurve c1 3  0 50 -45  5 50 -50  0 50 -55
18 beziercurve c2 3  0 50 -45  -5 50 -50  0 50 -55
19 trim c1 c1 0.5 1
20 trim c2 c2 0.5 1
21 mkedge e1 c1
22 mkedge e2 c2
23 orientation e2 R
24 wire pr4 e1 e2
25 donly pr1 pr2 pr3 pr4
26
27 explode pr1
28 explode pr2
29 explode pr3
30 explode pr4
31
32 thrusections r 1 1 pr1 pr2 pr3 pr4 pr1
33
34 savehistory hist
35
36 generated r1 hist pr1_1
37 generated r2 hist pr1_2
38 generated r3 hist pr1_3
39 generated r4 hist pr2_1
40 generated r5 hist pr2_2
41 generated r6 hist pr3_1
42 generated r7 hist pr4_1
43 generated r8 hist pr4_2
44
45 checknbshapes r1 -face 4
46 checkprops r1 -s 902.335
47 checknbshapes r2 -face 8
48 checkprops r2 -s 2278.73
49 checknbshapes r3 -face 4
50 checkprops r3 -s 902.335
51 checknbshapes r4 -face 8
52 checkprops r4 -s 2041.7
53 checknbshapes r5 -face 8
54 checkprops r5 -s 2041.7
55 checknbshapes r6 -face 16
56 checkprops r6 -s 4083.4
57 checknbshapes r7 -face 8
58 checkprops r7 -s 2041.7
59 checknbshapes r8 -face 8
60 checkprops r8 -s 2041.7
61
62 explode pr1 v
63 explode pr2 v
64 explode pr3 v
65 explode pr4 v
66
67 generated r9 hist pr1_1
68 generated r10 hist pr1_2
69 generated r11 hist pr1_3
70 generated r12 hist pr1_4
71 generated r13 hist pr2_1
72 generated r14 hist pr2_2
73 generated r15 hist pr2_3
74 generated r16 hist pr3_1
75 generated r17 hist pr3_2
76 generated r18 hist pr4_1
77 generated r19 hist pr4_2
78 generated r20 hist pr4_3
79
80 checkprops r9 -l 276.046
81 checkprops r10 -l 298.732
82 checkprops r11 -l 298.732
83 checkprops r12 -l 276.046
84 checkprops r13 -l 276.046
85 checkprops r14 -l 311.127
86 checkprops r15 -l 276.046
87 checkprops r16 -l 276.046
88 checkprops r17 -l 276.046
89 checkprops r18 -l 276.046
90 checkprops r19 -l 311.127
91 checkprops r20 -l 276.046