1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/fclasses/bug25367_brep
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

26 lines
649 B
Plaintext

puts "=========="
puts "OCC25367"
puts "=========="
puts ""
################################################################
# IGES and BRep persistence - support unicode file names on Windows
################################################################
set s [encoding convertfrom unicode "\xDE\x30\xF9\x30\xF1\x30"]
set NameFile ${imagedir}/OCC25367_${s}.brep
box b 1 1 1
bsave b ${NameFile}
brestore ${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