| 1 | # test script on make volume operation |
| 2 | # plane sphere |
| 3 | |
| 4 | puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_" |
| 5 | puts "TODO OCC26020 ALL: Error: bopcheck failed" |
| 6 | puts "TODO OCC26020 ALL: Error : The area of result shape is" |
| 7 | |
| 8 | # planar face |
| 9 | plane pln_f1 -4.2580937183769834 -506.18339008981781 147.62942729477928 0.98768834059988952 -6.6728564553435301e-012 -0.15643446501022945 |
| 10 | erase pln_f1 |
| 11 | mkface f1 pln_f1 -1000000 1000000 -1000000 1000000 |
| 12 | |
| 13 | # spherical face |
| 14 | sphere sph_f2 0 0 0 0 0 1 535 |
| 15 | erase sph_f2 |
| 16 | mkface f2 sph_f2 |
| 17 | |
| 18 | # planar face |
| 19 | plane pln_f3 -27.47908454454036 -513.55172659614686 -173.4961116930572 -0.15037445914067274 0.27563735581879711 -0.94942696934275683 |
| 20 | erase pln_f3 |
| 21 | mkface f3 pln_f3 -1000000 1000000 -1000000 1000000 |
| 22 | |
| 23 | # planar face |
| 24 | plane pln_f4 194.60851142999999 27.299999999999997 469.82650763999999 -1.2670433353083948e-016 -1 -6.6853539210366213e-016 |
| 25 | erase pln_f4 |
| 26 | mkface f4 pln_f4 -1000000 1000000 -1000000 1000000 |
| 27 | |
| 28 | # planar face |
| 29 | plane pln_f5 -19.268639075459625 -528.60152622385317 -121.65739916694265 -0.15037445914067274 0.27563735581879711 -0.94942696934275683 |
| 30 | erase pln_f5 |
| 31 | mkface f5 pln_f5 -1000000 1000000 -1000000 1000000 |
| 32 | |
| 33 | # planar face |
| 34 | plane pln_f6 -50.337753508376991 -521.07662641018214 -143.30609453522072 0.98768834059988952 6.6728564553435301e-012 -0.15643446501022945 |
| 35 | erase pln_f6 |
| 36 | mkface f6 pln_f6 -1000000 1000000 -1000000 1000000 |
| 37 | |
| 38 | # spherical face |
| 39 | sphere sph_f7 0 0 0 0 0 1 520 |
| 40 | erase sph_f7 |
| 41 | mkface f7 sph_f7 |
| 42 | |
| 43 | # make volume operation |
| 44 | mkvolume result f1 f2 f3 f4 f5 f6 f7 |
| 45 | |
| 46 | checkprops result -s 2.19944e+013 |
| 47 | |