mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
# test script on make volume operation
|
|
# 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 18.855982726712998 17.500000000800412 0 -0.96152394764524818 -0.27472112788189063 0
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 0 17.5 23.855982730000001 0 0 1
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 3.0915737178616186e-015 17.500000000800409 -19.999999996712987 -1.6653345369377348e-016 0.27472112788189057 -0.96152394764524818
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 1.9428903041962543e-015 35.000000100000001 0 1.1102230246251565e-016 1 0
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -1.9428903041962543e-015 -1.0000000116860974e-007 0 1.1102230246251565e-016 1 0
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 17.5 -23.855982730000001 0 0 1
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 23.855982829999999 17.499999999999996 0 -1 1.1102230246251565e-016 0
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f8 0 17.500000000800412 19.999999996712987 0 -0.27472112788189046 -0.96152394764524818
|
|
erase pln_f8
|
|
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f9 19.999999996712994 17.500000000800409 0 -0.96152394764524818 -0.27472112788189063 0
|
|
erase pln_f9
|
|
mkface f9 pln_f9 -1000000 1000000 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
|
|
|
|
set square 2.75501e+013
|