0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28949_5
CommitLineData
a922aab5 1puts "============"
2puts "OCC28949"
3puts "============"
4puts ""
5##############################################################################
6# BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
7##############################################################################
8
9restore [locate_data_file OCC1477_closedPolyline.brep] sp
10restore [locate_data_file OCC1477_profile1_polygon.brep] pr
11wire pr pr
12
13mksweep sp
14addsweep pr -R
15buildsweep q -R
16
17explode sp
18
19savehistory sweep_hist
20
21generated r1 sweep_hist sp_1
22generated r2 sweep_hist sp_2
23generated r3 sweep_hist sp_3
24generated r4 sweep_hist sp_4
25generated r5 sweep_hist sp_5
26generated r6 sweep_hist sp_6
27
28checkprops r1 -s 7095.68
29checkprops r2 -s 11312.8
30checkprops r3 -s 11001.6
31checkprops r4 -s 16092.4
32checkprops r5 -s 2826.84
33checkprops r6 -s 3958.56
34
35explode sp v
36
37generated r1 sweep_hist sp_1
38generated r2 sweep_hist sp_2
39generated r3 sweep_hist sp_3
40generated r4 sweep_hist sp_4
41generated r5 sweep_hist sp_5
42generated r6 sweep_hist sp_6
43
44checknbshapes r1 -edge 14 -face 3
45checkprops r1 -s 54.0987
46checknbshapes r2 -edge 16 -face 4
47checkprops r2 -s 149.736
48checknbshapes r3 -edge 16 -face 4
49checkprops r3 -s 130.067
50checknbshapes r4 -edge 16 -face 4
51checkprops r4 -s 198.297
52checknbshapes r5 -edge 16 -face 4
53checkprops r5 -s 44.1704
54checknbshapes r6 -edge 16 -face 4
55checkprops r6 -s 199.887