1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/tests/bugs/fclasses/bug25367_igs
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- Added function checkprops, set default tolerance parameter to 1.0e-4
- Using "area" instead of "square".
- Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases.
- Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1)
- Corrected test cases to use checkprops proc.
- Correct image difference
- Updated TODOs in test cases.
- Updated test cases to get correct images of result shape
2015-12-10 16:56:03 +03:00

30 lines
694 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 *
checkprops result -s 6
checkshape result
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