53a1447a |
1 | puts "========" |
d99f0355 |
2 | puts "0026088: E x c e p t i o n in pipe algorithm" |
53a1447a |
3 | puts "========" |
4 | puts "" |
53a1447a |
5 | |
6 | restore [locate_data_file bug26088_path0.brep] p |
7 | restore [locate_data_file bug26088_profile0.brep] pr |
8 | |
cdddd079 |
9 | # result is invalid shape (twisted surface) because of placement |
10 | # path and profile |
53a1447a |
11 | pipe result p pr |
cdddd079 |
12 | |
06f68996 |
13 | checkshape result |
14 | |
15 | checknbshapes result -vertex 8 -edge 14 -wire 6 -face 6 -shell 1 |
16 | |
17 | set tolres [checkmaxtol result] |
18 | |
19 | if { ${tolres} > 1.e-4} { |
20 | puts "Error: bad tolerance of result" |
21 | } |
22 | |
cdddd079 |
23 | smallview |
24 | fit |
25 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |
26 | |
27 | puts "TEST COMPLETED" |