mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
OSD_OpenFile.hxx header is created for using in file open operations with Unicode names. Fix for STEP files reading. Adding test cases for issue 25367 Update test case for issue 25364 Update test cases due to improvements
38 lines
724 B
Plaintext
38 lines
724 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
|
|
|
|
set nb_v_good 8
|
|
set nb_e_good 12
|
|
set nb_w_good 6
|
|
set nb_f_good 6
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 0
|
|
set nb_shape_good 34
|
|
|
|
file delete -force [glob -nocomplain ${NameFile}]
|
|
|
|
set 2dviewer 1
|