0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / heal / bug24658
CommitLineData
53446383 1puts "============"
2puts "OCC24658"
3puts "============"
4puts ""
5#######################################################################
6## fixshape changes source shape
7#######################################################################
8
9restore [locate_data_file bug24658.brep] a
10
11puts "\nBefore shape healing"
12regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance a] full expected_MaxTolerance
13
14fixshape af a
15
16puts "\nAfter shape healing"
17regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance a] full MaxTol
18
19set tol_abs_MaxTolerance 1.0e-06
20set tol_rel_MaxTolerance 1.0e-06
21checkreal "MaxTolerance" ${MaxTol} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}