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

58 lines
2.2 KiB
Plaintext

# test script on make volume operation
# plane unstable
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
# planar face
plane pln_f1 -513.57358775546049 376.87261141864394 391.24411461018769 -0.35888381816183362 -0.86162916044152549 0.35888381816183351
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 -327.56467026634942 648.74858453520653 266.89490844054359 0.70710678118654779 1.4310362419631002e-016 0.70710678118654735
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 -456.95672492948086 334.52761535111603 456.95672492948091 0.60926382221627451 -0.50753836296070476 -0.60926382221627429
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 -482.79588435174912 402.18608718514611 482.79588435174912 -0.35888381816183385 -0.86162916044152549 0.35888381816183329
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 -463.10033014697382 385.77899253621149 463.10033014697387 -0.35888381816183385 -0.86162916044152549 0.35888381816183329
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 -462.3080908434207 726.78581643820371 384.10208084418849 0.70710678118654768 -4.5625264373580886e-017 0.70710678118654735
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f7 -488.62653912754274 358.86003221837689 488.62653912754263 0.69770000430646617 -0.16257123971205423 -0.69770000430646617
erase pln_f7
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f8 -488.40886873448471 360.72836614475438 488.40886873448471 0.69770000430646639 -0.16257123971205426 -0.69770000430646595
erase pln_f8
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f9 -497.77519898010922 368.53085129387961 497.77519898010922 0.60926382221627451 -0.50753836296070476 -0.60926382221627429
erase pln_f9
mkface f9 pln_f9 -1000000 1000000 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
checkprops result -s 2.99991e+012