1 puts "TODO OCC12345 ALL: Faulty OCC592 : Checkshape BRepCheck_Analyzer does not detect faulty shape"
3 puts "========================"
5 puts "========================"
7 ###################################
8 ##BRepCheck_Analyzer does not detect faulty shape
9 #####################################
11 restore [locate_data_file OCC592.brep] ff114
21 set aa [distmini dd vv ff]
23 puts "******* Result *******"
24 regexp {([-0-9.+eE]+)$} [dump dd_val] full dis1
25 puts "distance between the point on curve and the surface is $dis1"
27 set tolerance [maxtolerance ff114_8]
28 regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
29 puts "the tolerance of the edge is $MaxEdgeTolerance"
30 puts "the tolerance is less than distance between point and surface"
34 set che [checkshape ff114]
37 if { [regexp {Faulty} $che] != 1 } {
38 puts "Faulty OCC592 : Checkshape BRepCheck_Analyzer does not detect faulty shape"
40 puts "OCC592 OK: Checkshape (BRepCheck_Analyzer) detects bad shape"