1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +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

48 lines
1.5 KiB
Plaintext

# test script on make volume operation
# plane sphere
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"
# planar face
plane pln_f1 -4.2580937183769834 -506.18339008981781 147.62942729477928 0.98768834059988952 -6.6728564553435301e-012 -0.15643446501022945
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f2 0 0 0 0 0 1 535
erase sph_f2
mkface f2 sph_f2
# planar face
plane pln_f3 -27.47908454454036 -513.55172659614686 -173.4961116930572 -0.15037445914067274 0.27563735581879711 -0.94942696934275683
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 194.60851142999999 27.299999999999997 469.82650763999999 -1.2670433353083948e-016 -1 -6.6853539210366213e-016
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 -19.268639075459625 -528.60152622385317 -121.65739916694265 -0.15037445914067274 0.27563735581879711 -0.94942696934275683
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 -50.337753508376991 -521.07662641018214 -143.30609453522072 0.98768834059988952 6.6728564553435301e-012 -0.15643446501022945
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f7 0 0 0 0 0 1 520
erase sph_f7
mkface f7 sph_f7
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 2.19944e+013