f1aa2b62 |
1 | |
2 | puts "================" |
3 | puts "OCC637" |
4 | puts "(case 2)" |
5 | puts "================" |
6 | puts "" |
7 | ########################################## |
8 | ## BRepOffsetAPI_MakePipeShell crashes with fatal exception |
9 | ########################################## |
10 | |
11 | restore [locate_data_file OCC637d.brep] s |
352ffd73 |
12 | checkshape s |
f1aa2b62 |
13 | |
14 | restore [locate_data_file OCC637c.brep] s1 |
352ffd73 |
15 | checkshape s1 |
f1aa2b62 |
16 | |
17 | restore [locate_data_file OCC637f.brep] s2 |
352ffd73 |
18 | checkshape s2 |
f1aa2b62 |
19 | |
20 | mksweep s |
21 | addsweep s1 |
22 | addsweep s2 |
23 | |
24 | if [catch {buildsweep result } catch_result] { |
25 | puts "Faulty OCC637 (case 2): function buildsweep works wrongly" |
26 | } |
27 | |
58cf74e0 |
28 | checkprops result -s 1090.91 |
29 | checkshape result |
5747059b |
30 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
f1aa2b62 |
31 | |