94708556 |
1 | puts "==========" |
2 | puts "OCC25367" |
3 | puts "==========" |
4 | puts "" |
5 | ################################################################ |
6 | # IGES and BRep persistence - support unicode file names on Windows |
7 | ################################################################ |
8 | |
9 | set s [encoding convertfrom unicode "\xDE\x30\xF9\x30\xF1\x30"] |
10 | |
11 | set NameFile ${imagedir}/OCC25367_${s}.brep |
12 | |
13 | box b 1 1 1 |
14 | |
15 | bsave b ${NameFile} |
16 | |
17 | brestore ${NameFile} result |
18 | |
58cf74e0 |
19 | checkprops result -s 6 |
20 | checkshape result |
94708556 |
21 | |
a4eba920 |
22 | checknbshapes result -vertex 8 -edge 12 -wire 6 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 34 |
94708556 |
23 | file delete -force [glob -nocomplain ${NameFile}] |
24 | |
5747059b |
25 | checkview -display result -2d -path ${imagedir}/${test_image}.png |