2 puts "OCC25747: Bad IGES file after import and export with different units"
6 # default OCCT unit for reading
7 param xstep.cascade.unit MM
9 param write.iges.unit M
10 param write.iges.brep.mode 1
13 ReadIges D [locate_data_file bug25747_pencil.igs]
19 vdump ${imagedir}/${casename}_1.png
21 set aTmpFile ${imagedir}/${casename}.igs
24 # bad IGES file after export
26 file delete -force ${aTmpFile}
32 vdump ${imagedir}/${casename}_2.png
37 checkcolor 20 $y 0.0588 0.0588 0.8
38 checkcolor 210 $y 0.5058 0.5764 0.0588
39 checkcolor 330 $y 0.0588 0.0588 0.8
40 checkcolor 360 $y 0.6862 0.4039 0.3333
41 checkcolor 400 $y 0.1215 0.1215 0.7529