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

47 lines
1.6 KiB
Plaintext

# test script on make volume operation
# cone plane killed by cpulimit 300
# ? - because sometimes test is killed by elapsed time
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"
# planar face
plane pln_f1 460.8377555733228 -1160 121.87519451048833 -0.17364817766693036 1.1223734950417248e-017 0.98480775301220813
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 356.99281047643018 -1160.0000000363402 62.947464405791308 -0.95325038083096458 -0.25112060959207305 -0.16808376151111853
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 474.72960978667726 -1160 43.090574269511663 -0.17364817766693036 1.1223734950417248e-017 0.98480775301220813
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 509.6380121876166 -1160.0000000132395 89.862931946685578 -0.91703127426762787 -0.36456495599572464 -0.1616973558068471
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 0 -1219.9999999945176 1.5341142011343817e-013 0 -1 1.1102230246251565e-016
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 -1280 1.6007275826179778e-013 0 1 -1.1102230246251565e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# conical face
cone con_f7 0 161.80722892 0 0 -1 1.1102230246251565e-016 21.380811808638473 0
erase con_f7
mkface f7 con_f7 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 0