1puts "============" 2puts "OCC2442" 3puts "============" 4puts "" 5###################################################### 6# Error in BRepClass3d_SolidClassifier 7###################################################### 8 9restore [locate_data_file OCC2442-1.brep] a 10restore [locate_data_file OCC2442-2.brep] b 11 12distmini dm1 a b 13set dist1 [dval dm1_val] 14 15explode a 16explode b 17distmini dm2 a_1 b_1 18set dist2 [dval dm2_val] 19 20set good_dist 18.4816355578064 21 22set tol_abs 1.e-7 23set tol_rel 1.e-7 24 25checkreal "Distance 1 " ${dist1} ${good_dist} ${tol_abs} ${tol_rel} 26checkreal "Distance 2 " ${dist2} ${good_dist} ${tol_abs} ${tol_rel} 27 28bounding a -save x0 y0 z0 x1 y1 z1 -nodraw 29ttranslate a -x0 -y0 -z0 30ttranslate b -x0 -y0 -z0 31 32checkview -display a -with b -2d -path ${imagedir}/${test_image}.png 33