1puts "============"
2puts "OCC26150"
3puts "============"
4puts ""
5#########################################################################
6# BRepOffsetAPI_ThruSections doesn't implement history method Generated()
7#########################################################################
8
9polyline w1 -10 -10 0  10 -10 0  10 10 0  -10 10 0  -10 -10 0
10polyline w2 0 -10 20  -10 7 20  10 8 20  0 -10 20
11circle w3 0 0 40  10
12mkedge w3 w3
13wire w3 w3
14vertex v1 0 0 -30
15vertex v2 0 0 70
16
17explode w1
18
19thrusections r 1 0 v1 w1 w2 w3 v2
20
21savehistory hist
22
23generated r1 hist w1_1
24generated r2 hist w1_2
25generated r3 hist w1_3
26generated r4 hist w1_4
27
28checknbshapes r1 -face 2
29checkprops r1 -s 1970.62
30checknbshapes r2 -face 3
31checkprops r2 -s 1933.42
32checknbshapes r3 -face 1
33checkprops r3 -s 1690.2
34checknbshapes r4 -face 2
35checkprops r4 -s 1859.72
36
37generated r5 hist v1
38generated r6 hist v2
39
40checknbshapes r5 -edge 8
41checkprops r5 -l 902.911
42checknbshapes r6 -edge 8
43checkprops r6 -l 902.911
44