1 puts "TODO OCC27014 ALL: Error : result is WRONG because number of .* entities in shape"
7 #######################################################################
8 # Tolerances of operands are modified using bop
9 #######################################################################
11 restore [locate_data_file bug26619_shell_ft81_h0.brep] h0
12 restore [locate_data_file bug26619_the_face.brep] f0
14 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance h0] full MaxTolerance1
18 #turn on non-destructive mode of BOP
25 checkprops result -l 142.264
27 set nbshapes_expected "
28 Number of shapes in shape
39 checknbshapes result -ref ${nbshapes_expected} -t -m "result"
41 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance h0] full MaxTolerance2
43 set expected_MaxTolerance ${MaxTolerance1}
44 set tol_abs_MaxTolerance 0.0001
45 set tol_rel_MaxTolerance 0.0001
46 checkreal "MaxTolerance" ${MaxTolerance2} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
48 checkview -display result -2d -path ${imagedir}/${test_image}.png