0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_7 / bug28151
CommitLineData
340054e1 1puts "TODO OCC28151 ALL: Faulty shapes in variables faulty_1 to"
2puts "TODO OCC28151 ALL: Error: MaxTolerance"
3
4puts "========"
5puts "OCC28151"
6puts "========"
7puts ""
8##########################################################
9## Sewing faces results in a shell with very big tolerance
10##########################################################
11
12restore [locate_data_file bug28151_surfs.brep] s
13
14puts "\nBefore sewing"
15whatis s
16checkshape s
17tolerance s
18
19set expected_MaxTolerance 0.1
20sewing result ${expected_MaxTolerance} s
21
22puts "\nAfter sewing"
23whatis result
24checkshape result
25
26regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full MaxTol
27
28set expected_MaxTolerance 0.1
29set tol_abs_MaxTolerance 0.05
30set tol_rel_MaxTolerance 0.5
31checkreal "MaxTolerance" ${MaxTol} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
32
33checkview -display s -3d -path ${imagedir}/${test_image}-s.png
34checkview -display result -3d -path ${imagedir}/${test_image}-result.png