1 puts "TODO OCC11111 ALL: Error : Result shape is WRONG"
7 ######################################################
8 # Invalid result of MakeCylindricalHole when input solid is REVERSED
9 ######################################################
17 offsetshape t b 10 b_1
20 set che_t [checkshape t]
23 if {[regexp {Faulty} $che_t]} {
24 puts "Faulty ${BugNumber} : checkshape is wrong for t"
27 set bnd_t [bounding t]
28 set ori [lindex [dtyp t] 2]
29 puts "Orientation of thick solid is $ori"
32 hole h t 110 50 50 1 0 0 10
34 set che [checkshape h]
35 if { [regexp {Faulty} $che] } {
36 puts "Faulty ${BugNumber} : checkshape is wrong for h"
39 set bnd_h [bounding h]
52 set nb_compound_good 1
56 # 4. Check thickness of box and hole
57 set dx_t [expr [lindex $bnd_t 3] - [lindex $bnd_t 0]]
58 set dx_h [expr [lindex $bnd_h 3] - [lindex $bnd_h 0]]
60 if { [expr abs($dx_h - $dx_t)] > 1e-5 } {
61 puts "Thickness of solid = $dx_t"
62 puts "Thickness of solid with hole = $dx_h"
63 puts "Invalid result of making a hole"
64 puts "Faulty ${BugNumber}"
66 puts "OK ${BugNumber}"