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