1 puts "================"
3 puts "================"
5 #######################################################################
6 # Wrong distance value between circle and cylinder
7 #######################################################################
12 circle b2 0 10 10 1 0 0 5
17 regexp {([-0-9.+eE]+)$} [dump d_val] full dist
18 regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} [ maxtolerance d ] full toler
20 if { [expr abs( ${dist} - ${good_dist} )] > ${toler} } {
21 puts "Faulty : the distanse is ${dist}. It is bad value"
24 regexp { +Point 3D : +([-0-9.+eE]+), +([-0-9.+eE]+), +([-0-9.+eE]+)} [ dump d ] full x y z
28 if { [expr abs( ${x} - ${good_x} )] > ${toler} } {
29 puts "Faulty : the x coordinate of the point is ${x}. It is bad value"
31 if { [expr abs( ${y} - ${good_y} )] > ${toler} } {
32 puts "Faulty : the y coordinate of the point is ${y}. It is bad value"
34 if { [expr abs( ${z} - ${good_z} )] > ${toler} } {
35 puts "Faulty : the z coordinate of the point is ${z}. It is bad value"
38 checkview -display result -2d -path ${imagedir}/${test_image}.png