0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_2 / bug2083_2
1 puts "============"
2 puts "OCC2083"
3 puts "============"
4 puts ""
5 ######################################################
6 # BRepOffsetAPI_MakePipeShell throws an exception
7 ######################################################
8
9 restore [locate_data_file OCC2083-f1.brep] f1 
10 restore [locate_data_file OCC2083-f2.brep] f2 
11 restore [locate_data_file OCC2083-w.brep] s 
12
13 checkshape f1
14 checkshape f2
15 checkshape s
16
17 explode f1 w
18 explode f2 w
19 mksweep s
20 addsweep f1_1 -T
21 addsweep f2_1 -T
22
23 if { [catch {buildsweep result} catch_result] } {
24     puts "Faulty OCC2083"
25 }
26
27 checkprops result -s 36583.8 
28 checkshape result
29 checkview -display result -3d -path ${imagedir}/${test_image}.png