0028802: The tolerance reached by approximator is used in creation of an edge, it...
[occt.git] / tests / bugs / modalg_6 / bug26150_2
CommitLineData
50258e77 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
10vertex v1 0 -10 20
11vertex v2 10 8 20
12vertex v3 -10 7 20
13edge e1 v1 v2
14orientation e1 R
15edge e2 v2 v3
16orientation e2 R
17edge e3 v3 v1
18orientation e3 R
19wire w2 e1 e2 e3
20circle w3 0 0 40 10
21mkedge w3 w3
22wire w3 w3
23
24explode w2
25
26thrusections r 1 1 w1 w2 w3
27
28genthrus r5 w2_1
29genthrus r6 w2_2
30genthrus r7 w2_3
31
32checknbshapes r5 -face 6
33checkprops r5 -s 872.216
34checknbshapes r6 -face 6
35checkprops r6 -s 852.53
36checknbshapes r7 -face 4
37checkprops r7 -s 835.461
38
39explode w2 v
40
41genthrus r13 w2_1
42genthrus r14 w2_2
43genthrus r15 w2_3
44
45checknbshapes r13 -edge 2
46checkprops r13 -l 40.0002
47checknbshapes r14 -edge 2
48checkprops r14 -l 40.2965
49checknbshapes r15 -edge 2
50checkprops r15 -l 40.2389