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"
22 offsetparameter 1e-7 c a
25 if { [catch { offsetperform result } catch_result] } {
26 puts "Faulty ${BugNumber} : offsetshape is wrong"
29 if { [catch { set tolmaxres [tolmax result] } catch_result]} {
30 puts "Faulty ${BugNumber} : tolmax is wrong"
32 regexp {max tol = ([-0-9.+eE]+)} $tolmaxres full maxtolerance
33 if { [catch { expr $maxtolerance } catch_result] } {
34 puts "Faulty ${BugNumber} : maxtolerance is wrong (1)."
36 if { $maxtolerance > 1. } {
37 puts "Faulty ${BugNumber} : maxtolerance is wrong (2)."
49 set nb_compound_good 0