1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/step/bug30362
ika 5290fb106f 0030362: Data Exchange - Writing dimensions with inches produced invalid file.
Writing dimensions into STEP files in inches not produce invalid references between STEP entities.
2018-11-15 17:34:43 +03:00

22 lines
521 B
Plaintext

puts "=========="
puts "OCC30362"
puts "=========="
puts ""
#########################################################
# Writing dimensions with inches produced invalid file
#########################################################
pload DCAF
ReadStep D [locate_data_file bug26689_nist_ctc_01_asme1_ap242.stp]
param write.step.unit 1
param write.step.schema 5
WriteStep D $imagedir/${casename}.stp
Close D
file delete $imagedir/${casename}.stp
# return default values
param write.step.unit 2
param write.step.schema 4