0026150: BRepOffsetAPI_ThruSections doesn't implement history method Generated().
[occt.git] / tests / bugs / modalg_6 / bug26150_2
1 puts "============"
2 puts "OCC26150"
3 puts "============"
4 puts ""
5 #########################################################################
6 # BRepOffsetAPI_ThruSections doesn't implement history method Generated()
7 #########################################################################
8
9 polyline w1 -10 -10 0  10 -10 0  10 10 0  -10 10 0  -10 -10 0
10 vertex v1 0 -10 20
11 vertex v2 10 8 20
12 vertex v3 -10 7 20
13 edge e1 v1 v2
14 orientation e1 R
15 edge e2 v2 v3
16 orientation e2 R
17 edge e3 v3 v1
18 orientation e3 R
19 wire w2 e1 e2 e3
20 circle w3 0 0 40  10
21 mkedge w3 w3
22 wire w3 w3
23
24 explode w2
25
26 thrusections r 1 1 w1 w2 w3
27
28 genthrus r5 w2_1
29 genthrus r6 w2_2
30 genthrus r7 w2_3
31
32 checknbshapes r5 -face 6
33 checkprops r5 -s 872.216
34 checknbshapes r6 -face 6
35 checkprops r6 -s 852.53
36 checknbshapes r7 -face 4
37 checkprops r7 -s 835.461
38
39 explode w2 v
40
41 genthrus r13 w2_1
42 genthrus r14 w2_2
43 genthrus r15 w2_3
44
45 checknbshapes r13 -edge 2
46 checkprops r13 -l 40.0002
47 checknbshapes r14 -edge 2
48 checkprops r14 -l 40.2965
49 checknbshapes r15 -edge 2
50 checkprops r15 -l 40.2389