1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/iges/bug25518
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

23 lines
492 B
Plaintext

puts "========"
puts "OCC25518: Colors are not written to IGES 5.3"
puts "========"
puts ""
psphere s 10
XNewDoc D
XAddShape D s
XSetColor D s 0 0 1
param write.iges.brep.mode 1
set aTmpFile ${imagedir}/${casename}.igs
WriteIges D $aTmpFile
ReadIges T $aTmpFile
file delete -force ${aTmpFile}
if {[string trim [XGetAllColors T]] != "BLUE"} {
puts "ERROR: OCC25518 is reproduced. Color is lost."
}
XShow T
vfit
vsetdispmode 1
checkview -screenshot -3d -path ${imagedir}/${test_image}.png