1 puts "TODO OCC25597 ALL: Error: Vertex tolerance"
2 puts "TODO OCC25597 ALL: Error: Edge tolerance"
7 ############################################################################################################
8 # Boolean operations between two cylinders with orthogonal axis generate a shape with big vertex tolerance
9 ###########################################################################################################
11 set BugNumber OCC22967
13 restore [locate_data_file bug22967_Cylinder_1.brep] b1
14 restore [locate_data_file bug22967_Scale_1.brep] b2
17 set info [ maxtolerance result ]
19 regexp {Edge[ \t]*:.*Max[ \t]*([-0-9.+eE]+)} $info full last1
20 regexp {Vertex[ \t]*:.*Max[ \t]*([-0-9.+eE]+)} $info full last
22 set check_value 8.46459e-006
24 checkreal "Vertex tolerance" ${last} ${check_value} 0 0.05
25 checkreal "Edge tolerance" ${last1} ${check_value} 0 0.05
26 checkprops result -s 668843
28 checkview -display result -2d -path ${imagedir}/${test_image}.png
31 ############################################################################################################
32 # Addition checks according to the issue OCC26918
33 ###########################################################################################################
36 set Lf [explode result f]
38 set Le [explode $ff e]
42 if { [string first "Tolerance cannot be computed" [xdistef $ee $ff]] >= 0 } {
43 puts "Error: \"xdistef result_$i_$j result_$i\" cannot find maximal distance "