1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/xde/bug25910
kgv 30fa5f6713 0032705: Test - name clashes within temporary files within bugs/caf/bug23766_X
Several test cases writing temporary files have been corrected.
2021-12-02 21:14:57 +03:00

17 lines
396 B
Plaintext

puts "========"
puts "OCC25910: The material with 0-density causes e r r o r s during writing STEP files"
puts "========"
puts ""
pload DCAF
NewDocument D
box b 10 10 10
XSetMaterial D [XAddShape D b] Vacuum 0.
set aTmpFile ${imagedir}/${casename}_tmp.stp
set bug_info [catch {WriteStep D $aTmpFile}]
file delete -force $aTmpFile
if {$bug_info != 0} { puts "ERROR: OCC25910 is reproduced." }