blob: 36a6ab6800378a0ef0669ab5094045e6c0647fba [file] [edit]
puts "============"
puts "0032821: DEWrapper - Implementation of a common toolkit for importing and exporting CAD files"
puts "============"
puts ""
catch { Close D_First }
loadvrml S_First ${filename}
XNewDoc D_First
XAddShape D_First S_First
set file_path ${imagedir}/${casename}.wrl
WriteFile D_First $file_path -conf "provider.VRML.OCC.RepresentationType : 2 "
loadvrml S_Second $file_path
checktrinfo S_Second -ref [trinfo S_First]
file delete $file_path
Close D_First