0028802: The tolerance reached by approximator is used in creation of an edge, it...
[occt.git] / tests / bugs / modalg_6 / bug26150_4
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 0 w1 w2 w3
27
28 genthrus r5 w2_1
29 genthrus r6 w2_2
30 genthrus r7 w2_3
31
32 checknbshapes r5 -face 3
33 checkprops r5 -s 866.128
34 checknbshapes r6 -face 3
35 checkprops r6 -s 837.872
36 checknbshapes r7 -face 2
37 checkprops r7 -s 828.494
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 1
46 checkprops r13 -l 40.0003
47 checknbshapes r14 -edge 1
48 checkprops r14 -l 40.3794
49 checknbshapes r15 -edge 1
50 checkprops r15 -l 40.3103