6 #######################################################################
7 # Errors in Offset Shape algorithm working with bspline and surface of revolution
8 #######################################################################
12 if {[info commands testreadiges] == ""} {pload XSDRAW}
14 proc myoffset {result sh val tan} {
16 offsetparameter 1e-7 p i
18 offsetparameter 1e-7 p a
20 uplevel offsetload $sh $val
21 uplevel offsetperform $result
24 testreadiges [locate_data_file OCC8842_cylinder_Ideas.igs] a4
26 DT_ShapeDivide cyl2 a4
28 # join type Intersection
29 puts "***** offsetting with join type Intersection"
30 puts " cylinder_Ideas + 5"
32 if [catch { myoffset result cyl2 5 1 } catch_result] {
33 puts "${BugNumber}: Faulty (1)"
36 checknbshapes result -vertex 6 -edge 9 -wire 5 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 27