mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
puts "TODO OCC26020 ALL: Error: bopcheck failed"
|
|
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
|
|
|
|
# planar face
|
|
plane pln_f1 0 -1450 -4.4408920985006262e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -1236.2999231598978 -1532.4999999999993 1236.2999231598976 -0.70710678118654757 3.3306690738754696e-016 0.70710678118654746
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f3 0 0 1.5654144647214707e-013 0 1 1.1102230246251565e-016 1750
|
|
erase cyl_f3
|
|
mkface f3 cyl_f3 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -690.68380099000012 -1532.5 1609.6129695899999 -1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -1200.91009663 -1532.5 1289.33293185 -2.2204460492503131e-016 -1.1102230246251565e-016 1
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 -1455 -4.7184478546569153e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 -538.51475828369678 -1532.4999999999993 1657.3780060989745 0.30901699437494751 -4.4408920985006262e-016 -0.95105651629515353
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 0 0 -1.8139656443594276e-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
|
|
|
|
set square 1.8917e+007
|
|
|