61c421bf |
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 |
21 | addsweep f2_1 -T |
22 | |
23 | if { [catch {buildsweep result} catch_result] } { |
24 | puts "Faulty OCC2083" |
25 | } |
26 | |
27 | set square 36339.5 |
28 | set 3dviewer 1 |
29 | |