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

54 lines
1.7 KiB
Plaintext

# test script on make volume operation
# cylinder plane
# planar face
plane pln_f1 0 -1020 -2.3314683517128287e-015 0 1 1.1102230246251565e-016
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 771.03174431000002 -825 -1591.8780719899999 -2.2204460492503131e-016 -1.1102230246251565e-016 1
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 793.75341161103165 -824.99999999999977 -1557.8287844128686 0.45399049973954675 1.1102230246251565e-016 -0.8910065241883679
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 273.50878573665523 -825 -1726.8665102250795 0.1564344650402309 0 -0.98768834059513777
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# cylindrical face
cylinder cyl_f5 0 0 7.2275518903097691e-014 0 1 1.1102230246251565e-016 1750
erase cyl_f5
mkface f5 cyl_f5 0 6.2831853071795862 -1000000 1000000
# planar face
plane pln_f6 183.77345414000004 -825 -1677.4339210099999 1 1.1102230246251568e-016 2.2204460492503131e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f7 347.58541138000004 -825 1677.4339210099999 1 1.1102230246251568e-016 2.2204460492503131e-016
erase pln_f7
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f8 0 -1030 -2.2759572004815709e-014 0 1 1.1102230246251565e-016
erase pln_f8
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
# cylindrical face
cylinder cyl_f9 0 0 -1.0788592241794959e-013 0 -1 1.1102230246251565e-016 1720
erase cyl_f9
mkface f9 cyl_f9 0 6.2831853071795862 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
checkprops result -s 1.98614e+007