5 ######################################################
6 # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7 ######################################################
11 restore [locate_data_file OCC5805.brep] a
14 set che_a [checkshape a]
16 if { [regexp {Faulty} $che_a] } {
17 puts "Faulty ${BugNumber} : checkshape is wrong for a"
20 if { [catch { offsetshape result a -1 } catch_result] } {
21 puts "Faulty ${BugNumber} : offsetshape is wrong"
24 if { [catch { set tolmaxres [tolmax result] } catch_result] } {
25 puts "Faulty ${BugNumber} : tolmax is wrong"
27 regexp {max tol = ([-0-9.+eE]+)} $tolmaxres full maxtolerance
28 if { [catch { expr $maxtolerance } catch_result] } {
29 puts "Faulty ${BugNumber} : maxtolerance is wrong (1)."
31 if { $maxtolerance > 1. } {
32 puts "Faulty ${BugNumber} : maxtolerance is wrong (2)"
44 set nb_compound_good 0