5 #######################################################################
6 # Errors in Offset Shape algorithm working with bspline and surface of revolution
7 #######################################################################
11 if {[info commands testreadiges] == ""} {pload XSDRAW}
13 proc myoffset {result sh val tan} {
15 offsetparameter 1e-7 p i
17 offsetparameter 1e-7 p a
19 uplevel offsetload $sh $val
20 uplevel offsetperform $result
23 testreadiges [locate_data_file OCC8842_cylinder_CATIA.igs] a3
28 puts "***** offsetting with join type Arc"
29 puts " cylinder_CATIA - 5"
31 if [catch { myoffset result cyl1 -5 0 } catch_result] {
32 puts "${BugNumber}: Faulty (1)"
35 checkprops result -s 55514.4
37 checknbshapes result -vertex 8 -edge 14 -wire 8 -face 8 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 39}
39 checkview -display result -2d -path ${imagedir}/${test_image}.png