mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
Check for orientation of the solid corrected to ensure that cycle always finishes. Test case added: bugs modalg_6 bug26627 Tests boolean volumemaker A3, B5, B7 corrected (improvements)
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# test script on make volume operation
|
|
# plane
|
|
|
|
# planar face
|
|
plane pln_f1 2949.26242211 -890 552.5 1.110223024625157e-016 -1 1.1102230246251563e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -1449.9999998950002 -159.99999999999997 -6.9839943698246586e-014 1 1.1102230246251568e-016 -2.2204460492503131e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -1450.0000000999999 1965 -2528.3086479100002 -1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -1809.4095642600003 -1820 -3105.0000001049998 -2.2204460492503131e-016 -1.1102230246251565e-016 -1
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 9177.5 -850 -1792.5 1.110223024625157e-016 -1 1.1102230246251563e-016
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 -9.4869093912874872e-014 595 -2950.0000001049998 -2.2204460492503131e-016 -1.1102230246251565e-016 -1
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6
|
|
|
|
set square 12400.
|