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 | pload XDE |
10 | |
11 | set s [encoding convertfrom unicode "\xDE\x30\xF9\x30\xF1\x30"] |
12 | |
13 | set NameFile ${imagedir}/OCC25367_${s}.igs |
14 | |
15 | box b 1 1 1 |
16 | |
17 | param write.iges.brep.mode 1 |
18 | |
19 | brepiges b ${NameFile} |
20 | |
21 | igesbrep ${NameFile} result * |
22 | |
58cf74e0 |
23 | checkprops result -s 6 |
24 | checkshape result |
94708556 |
25 | |
a4eba920 |
26 | checknbshapes result -vertex 8 -edge 12 -wire 6 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 34 |
94708556 |
27 | file delete -force [glob -nocomplain ${NameFile}] |
28 | |
5747059b |
29 | checkview -display result -2d -path ${imagedir}/${test_image}.png |