0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / tests / bugs / modalg_6 / bug26150_7
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 polyline w2 -10 -10 20  10 -10 20  10 10 20  -10 10 20  -10 -10 20
11 trotate w2 0 0 0  0 0 1  45
12 polyline w3 -10 -10 40  10 -10 40  10 10 40  -10 10 40  -10 -10 40
13 trotate w3 0 0 0  0 0 1  90
14 vertex v1 0 0 -30
15 vertex v2 0 0 70
16
17 explode w1
18
19 thrusections -N r 1 1 v1 w1 w2 w3 v2
20
21 savehistory hist
22
23 generated r1 hist w1_1
24 generated r2 hist w1_2
25 generated r3 hist w1_3
26 generated r4 hist w1_4
27
28 checknbshapes r1 -face 4
29 checkprops r1 -s 1412.16
30 checknbshapes r2 -face 4
31 checkprops r2 -s 1412.16
32 checknbshapes r3 -face 4
33 checkprops r3 -s 1412.16
34 checknbshapes r4 -face 4
35 checkprops r4 -s 1412.16
36
37 generated r5 hist v1
38 generated r6 hist v2
39
40 checknbshapes r5 -edge 16
41 checkprops r5 -l 447.259
42 checknbshapes r6 -edge 16
43 checkprops r6 -l 447.259