f1aa2b62 |
1 | |
2 | puts "================" |
3 | puts "OCC636" |
4 | puts "================" |
5 | puts "" |
6 | ##################################### |
7 | ## BRepOffsetAPI_MakePipeShell builds twisted pipe |
8 | ##################################### |
9 | |
10 | restore [locate_data_file OCC636a.brep] s |
352ffd73 |
11 | checkshape s |
f1aa2b62 |
12 | |
13 | restore [locate_data_file OCC636b.brep] s1 |
352ffd73 |
14 | checkshape s1 |
f1aa2b62 |
15 | |
16 | restore [locate_data_file OCC636c.brep] s2 |
352ffd73 |
17 | checkshape s2 |
f1aa2b62 |
18 | |
19 | mksweep s |
20 | addsweep s1 |
21 | addsweep s2 |
22 | |
23 | if [catch { buildsweep result } catch_result] { |
24 | puts "Faulty OCC636: function buildsweep works wrongly" |
25 | } else { |
26 | puts "OCC636 OK: function buildsweep works properly" |
27 | } |
28 | |
29 | set square 3836.92 |
30 | set 2dviewer 0 |
31 | |