fluencyCAD/meshtest.py
2024-05-09 19:27:42 +02:00

8 lines
154 B
Python

from sdf import *
f = sphere(1) & box(0.9)
c = cylinder(0.3)
f -= c.orient(X) | c.orient(Y) | c.orient(Z)
stl_object = None
f.save("out.stl", step=0.05)