mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Changes in boolean/gdml_private and volumemaker caused by integration of 26019 and 26253.
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane unstable
|
|
|
|
puts "TODO OCC26020 ALL: Error: bopcheck failed"
|
|
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
|
puts "TODO OCC26020 ALL: Error : The area of the resulting shape is"
|
|
|
|
# planar face
|
|
plane pln_f1 -2591.6564295634707 -1492.5 -1185.6605612884966 0.46174861323503397 1.1102230246251565e-016 -0.88701083317822171
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -2755.6429359899998 -1492.5 -878.10963635499979 -2.2204460492503131e-016 -1.1102230246251565e-016 1
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 0 -1695 -1.3877787807814457e-014 0 -1 1.1102230246251565e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -2168.52484422 -1617.5000000000002 -5.7395311755081831e-013 1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f5 0 0 1.6042722705833512e-013 0 1 1.1102230246251565e-016 2950
|
|
erase cyl_f5
|
|
mkface f5 cyl_f5 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 -1395 1.6653345369377348e-014 0 -1 -1.1102230246251565e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 -2680.4726796899999 -1492.5 -1314.27713212 1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f8 -2613.5191306921497 -1492.5 -1360.5119453640414 0.88701083317822182 -1.7180717263929126e-032 0.46174861323503402
|
|
erase pln_f8
|
|
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f9 0 0 -2.0206059048177849e-013 0 -1 1.1102230246251565e-016 2750
|
|
erase cyl_f9
|
|
mkface f9 cyl_f9 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
|
|
|
|
set square 8.24049e+007
|
|
|