1puts "============"
2puts "OCC26150"
3puts "============"
4puts ""
5#########################################################################
6# BRepOffsetAPI_ThruSections doesn't implement history method Generated()
7#########################################################################
8
9restore [locate_data_file bug27386_pr2.brep] pr2
10restore [locate_data_file bug27386_pr3.brep] pr3
11beziercurve c1 3  0 50 -45  5 50 -50  0 50 -55
12beziercurve c2 3  0 50 -45  -5 50 -50  0 50 -55
13mkedge e1 c1
14mkedge e2 c2
15orientation e2 R
16wire pr4 e1 e2
17vertex vv 0 0 0
18donly vv pr2 pr3 pr4
19
20explode pr2
21explode pr3
22explode pr4
23
24thrusections r 1 1 vv pr2 pr3 pr4 vv
25
26savehistory hist
27
28generated r1 hist pr2_1
29generated r2 hist pr2_2
30generated r3 hist pr2_3
31generated r4 hist pr3_1
32generated r5 hist pr4_1
33generated r6 hist pr4_2
34
35checknbshapes r1 -face 8
36checkprops r1 -s 1659.7
37checknbshapes r2 -face 4
38checkprops r2 -s 1660.96
39checknbshapes r3 -face 8
40checkprops r3 -s 1671.28
41checknbshapes r4 -face 20
42checkprops r4 -s 4991.94
43checknbshapes r5 -face 12
44checkprops r5 -s 2495.34
45checknbshapes r6 -face 8
46checkprops r6 -s 2496.6
47
48explode pr2 v
49explode pr3 v
50explode pr4 v
51
52generated r7 hist vv
53generated r8 hist pr2_1
54generated r9 hist pr2_2
55generated r10 hist pr2_3
56generated r11 hist pr3_1
57generated r12 hist pr4_1
58generated r13 hist pr4_2
59
60checknbshapes r7 -edge 20
61checkprops r7 -l 1386.75
62checknbshapes r8 -edge 4
63checkprops r8 -l 269.926
64checknbshapes r9 -edge 4
65checkprops r9 -l 304.224
66checknbshapes r10 -edge 4
67checkprops r10 -l 269.926
68checknbshapes r11 -edge 4
69checkprops r11 -l 280.861
70checknbshapes r12 -edge 4
71checkprops r12 -l 261.815
72checknbshapes r13 -edge 4
73checkprops r13 -l 304.224
74