0023570: Command param in DRAW outputs non-readable symbols
[occt.git] / tests / bugs / xde / bug23597
CommitLineData
72ae9895
RL
1puts "================"
2puts "OCC23597"
3puts "================"
4puts ""
5#######################################################################
6# Failed to export ellipse into STEP with units other than mm
7#######################################################################
8
9set filedir ${imagedir}
10
11set TheFileName bug23597_f-ellipse
12if { [file exists ${filedir}/${TheFileName}.stp] } {
13 puts "Error : There is old ${filedir}/${TheFileName}.stp file"
14}
15
16xnorm STEP
17restore [locate_data_file ${TheFileName}.brep] f
18param write.step.unit FT
19newmodel
20stepwrite a f ${filedir}/${TheFileName}.stp
21
22if { ![file exists ${filedir}/${TheFileName}.stp] } {
23 puts "Error : There is not ${filedir}/${TheFileName}.stp file"
24}
25
26catch {exec chmod 777 ${filedir}/${TheFileName}.stp }
27
28file delete ${filedir}/${TheFileName}.stp