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

48 lines
1.8 KiB
Plaintext

# test script on make volume operation
# plane
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 Linux: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Linux: Error : The area of result shape is"
# planar face
plane pln_f1 590.6877421677151 -519.8775759738943 -93.555747452441423 0.64798185367609173 0.7547095802227719 -0.10263024323494339
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 565.21760745836445 -452.762264594611 -44.365729811365455 0.15643446504023115 9.9692002007284611e-017 0.98768834059513777
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 543.78457090328766 -466.68759027395998 1.4512184583830372 -0.64798185367609107 -0.75470958022277235 0.10263024323494352
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 566.59076280092552 -498.66928236315914 -89.739160861920553 0.64798185367609173 0.7547095802227719 -0.10263024323494339
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 580.66294952183853 -509.78553988496986 -48.533222383549358 0.15643446504023084 8.9644452180358048e-017 0.98768834059513777
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 532.30288877284181 -468.49175260368384 -84.308495124064365 0.74541785292148233 -0.65605902899050772 -0.11806258944288699
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f7 567.37789054344319 -446.69278458660409 -89.863829648883126 -0.74541785292148255 0.6560590289905075 0.11806258944288645
erase pln_f7
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 9.99931e+012