mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
- 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
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
puts "TODO ?OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
|
puts "TODO ?OCC26020 ALL: Error: bopcheck failed"
|
|
|
|
# planar face
|
|
plane pln_f1 -1677.4339210099999 -825 347.58541137999993 -2.2204460492503131e-016 -1.1102230246251565e-016 1
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 0 -672 -2.3314683517128287e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 1726.8665102250791 -825 273.50878573665614 0.98768834059513766 -2.1722168295619746e-032 0.15643446504023142
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f4 0 0 7.2275518903097691e-014 0 1 1.1102230246251565e-016 1750
|
|
erase cyl_f4
|
|
mkface f4 cyl_f4 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 1665.7013364039071 -825 339.75605834598957 -0.15643446504023129 4.4408920985006257e-016 0.98768834059513766
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 -691 -3.3861802251067274e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 1616.2687468249999 -825 -265.67943276 1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 0 0 -1.0788592241794959e-013 0 -1 1.1102230246251565e-016 1720
|
|
erase cyl_f8
|
|
mkface f8 cyl_f8 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8
|
|
|
|
checkprops result -s 2.0232e+007
|