1 puts "TODO OCC28151 ALL: Faulty shapes in variables faulty_1 to"
2 puts "TODO OCC28151 ALL: Error: MaxTolerance"
8 ##########################################################
9 ## Sewing faces results in a shell with very big tolerance
10 ##########################################################
12 restore [locate_data_file bug28151_surfs.brep] s
14 puts "\nBefore sewing"
19 set expected_MaxTolerance 0.1
20 sewing result ${expected_MaxTolerance} s
26 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full MaxTol
28 set expected_MaxTolerance 0.1
29 set tol_abs_MaxTolerance 0.05
30 set tol_rel_MaxTolerance 0.5
31 checkreal "MaxTolerance" ${MaxTol} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
33 checkview -display s -3d -path ${imagedir}/${test_image}-s.png
34 checkview -display result -3d -path ${imagedir}/${test_image}-result.png