- Working project and draw on exiting
This commit is contained in:
11
meshtest.py
11
meshtest.py
@@ -1,8 +1,7 @@
|
||||
from sdf import *
|
||||
c = box(1).translate((0,0,0.2))
|
||||
f = capped_cylinder(-Z, Z, 0.5)
|
||||
c.orient([0.5, 0.5, 1])
|
||||
c = f - c
|
||||
|
||||
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)
|
||||
c.save("out.stl")
|
||||
Reference in New Issue
Block a user