1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
puts "============"
puts "0032821: DEWrapper - Implementation of a common toolkit for importing and exporting CAD files"
puts "============"
puts ""
catch { Close D_First }
catch { Close D_Second }
ReadStep D_First ${filename}
XGetOneShape S_First D_First
set file_path ${imagedir}/${casename}.stp
WriteFile D_First $file_path
ReadStep D_Second $file_path
XGetOneShape S_Second D_Second
checknbshapes S_Second -ref [nbshapes S_First]
file delete $file_path
Close D_First
Close D_Second
|