mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
73 lines
2.7 KiB
Plaintext
73 lines
2.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 Debian70-64: Error: bopcheck failed"
|
|
puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
|
|
|
|
# planar face
|
|
plane pln_f1 -335.23319463083521 698.25 1031.741684575172 0.95105651629515375 3.3306690738754676e-016 0.30901699437494723
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -361.48545975741939 698.25 1112.3677894628579 0.94413350938426932 -2.7755575615628914e-017 0.32956322072971667
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -377.03714595623018 -18.500000000000256 1080.1369248570181 -0.32956322072971639 -2.2204460492503131e-016 0.94413350938426943
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -379.81702109239041 -18.500000000000014 1016.6899885855038 0.93679437761793805 -2.2204460492503121e-016 0.34988039965596873
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -409.2680104425807 698.25 1095.6886109971422 0.94413350938426932 -2.7755575615628914e-017 0.32956322072971667
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 -382.41124430916489 698.25 1016.4126070048281 0.95105651629515375 3.3306690738754676e-016 0.30901699437494723
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 -863.07307891000005 156.50000000000011 -657.71745162000002 4.4909464723405365e-017 1 3.2628636031510525e-017
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f8 -415.13750551487595 698.25 939.25789966596847 -0.34988039965596873 5.5511151231257827e-016 0.93679437761793805
|
|
erase pln_f8
|
|
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f9 -340.44108716728596 698.25 967.50583750729675 -0.30901699437494723 -3.3306690738754691e-016 0.95105651629515375
|
|
erase pln_f9
|
|
mkface f9 pln_f9 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f10 -377.03714596623058 698.24999999999989 1080.1369248570184 0.32956322072971667 1.1102230246251565e-016 -0.94413350938426932
|
|
erase pln_f10
|
|
mkface f10 pln_f10 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f11 0 1240 6.0146332359067856e-014 0 -1 -1.1102230246251565e-016
|
|
erase pln_f11
|
|
mkface f11 pln_f11 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f12 0 0 2.0539125955565396e-015 0 1 1.1102230246251565e-016 1026.3199999999999
|
|
erase cyl_f12
|
|
mkface f12 cyl_f12 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
|
|
|
set square 5.42213e+007
|
|
|