mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +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
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
# test script on make volume operation
|
|
# cone cylinder plane
|
|
|
|
# conical face
|
|
cone con_f1 731.30150714141485 5.8000000000000004e-015 -624.59049250040596 -0.76040596560003104 2.4874806615124344e-018 0.64944804833018366 4.8990924536466087 0
|
|
erase con_f1
|
|
mkface f1 con_f1 0 6.2831853071795862 0 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 670.82388601322714 5.9978376286039971e-015 -572.93772439204361 0.76040596560003104 -2.4874806615124344e-018 -0.64944804833018366
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 670.97596720634715 3.2079534447360114e-015 -573.06761400170967 -0.76040596560003137 -7.9534447360005325e-017 0.64944804833018333
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f4 -2.9683633329113945e-010 -6.6972588473441807e-014 -3.4731328923953697e-010 0.76040596560003137 7.9534447360005325e-017 -0.64944804833018333 2.4500000000000002
|
|
erase cyl_f4
|
|
mkface f4 cyl_f4 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4
|
|
|
|
checkprops result -s 3714.75
|
|
|