1puts "============"
2puts "OCC27386"
3puts "============"
4puts ""
5#####################################################################
6# BRepOffsetAPI_MakePipeShell does not provide history of generations
7#####################################################################
8
9
10circle cc 0 0 0 100
11circle c1 0 100 0  1 0 0  10
12polyline pr2 0 -90 0  0 -100 10  0 -110 0  0 -100 -10  0 -90 0
13mkedge sp cc
14wire sp sp
15mkedge pr1 c1
16wire pr1 pr1
17donly sp pr1 pr2
18
19mksweep sp
20addsweep pr2
21addsweep pr1
22buildsweep q
23
24explode pr1
25explode pr2
26
27savehistory sweep_hist
28
29generated r1_1 sweep_hist pr1_1
30
31checknbshapes r1_1 -face 4
32checkprops r1_1 -s 37077
33
34generated r2_1 sweep_hist pr2_1
35generated r2_2 sweep_hist pr2_2
36generated r2_3 sweep_hist pr2_3
37generated r2_4 sweep_hist pr2_4
38
39checkprops r2_1 -s 8740.38
40checkprops r2_2 -s 9798.12
41checkprops r2_3 -s 9798.12
42checkprops r2_4 -s 8740.38
43
44explode pr1 v
45explode pr2 v
46
47generated r1_1 sweep_hist pr1_1
48
49checkprops r1_1 -l 628.319
50
51generated r2_1 sweep_hist pr2_1
52generated r2_2 sweep_hist pr2_2
53generated r2_3 sweep_hist pr2_3
54generated r2_4 sweep_hist pr2_4
55
56checkprops r2_1 -l 565.487
57checkprops r2_2 -l 628.319
58checkprops r2_3 -l 691.15
59checkprops r2_4 -l 628.319
60