1 puts "================"
3 puts "================"
5 #############################################
6 ## Units are not taken into account while translating IGES surfaces
7 #############################################
9 param read.surfacecurve.mode -2
11 set filepath [locate_data_file D44-11325-6.igs]
12 if [catch { igesbrep $filepath a 6425 } res] {
13 puts "Faulty OCC659 first: here is reading problem"
18 param read.surfacecurve.mode -3
20 if [catch { igesbrep . a 6425 } res] {
21 puts "Faulty OCC659 second: here is reading problem"
26 set size1 [ bounding a1 -save x1_a1 yy zz x2_a1 yy zz ]
27 set size2 [ bounding a2 -save x1_a2 yy zz x2_a2 yy zz ]
29 set dim2 [ dval x2_a2-x1_a2 ]
30 set dim1 [ dval x2_a1-x1_a1 ]
32 set siz [expr ${dim1} / ${dim2}]