1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/fclasses/bug25367_igs

29 lines
666 B
Plaintext

puts "=========="
puts "OCC25367"
puts "=========="
puts ""
################################################################
# IGES and BRep persistence - support unicode file names on Windows
################################################################
pload XDE
set s [encoding convertfrom unicode "\xDE\x30\xF9\x30\xF1\x30"]
set NameFile ${imagedir}/OCC25367_${s}.igs
box b 1 1 1
param write.iges.brep.mode 1
brepiges b ${NameFile}
igesbrep ${NameFile} result *
set square 6
checknbshapes result -vertex 8 -edge 12 -wire 6 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 34
file delete -force [glob -nocomplain ${NameFile}]
set 2dviewer 1