1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
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

24 lines
700 B
Plaintext

# ====================================
## Grid : CFI900
## Test : N2
## Comment : from cts16288
## ====================================
puts "TODO OCC22817 All:TEST INCOMPLETE"
# Il s'agit d'un model assez difficile :
# - Il y des faces singulieres
# - Il y des aretes partielement tangentes
# - Et plein d'aretes de cassures de l'ordre de 1 ou 0.1 degree
restore [locate_data_file cts16288.rle] m
# Pour avoir un resultat valide, il faut un model valide
fsameparameter m 0.001
# Probleme de construction du model => 5 degree c'est tangent!
encoderegularity m 5.
explode m E
# blend res m 5 m_49
blend res m 5 m_49 5 m_12 5 m_78 5 m_44
explode res Sh
copy res_1 result
checkprops result -s 0