tootalltoby/revolveGemini.py

16 lines
371 B
Python

from build123d import *
with BuildPart() as p:
with BuildSketch(Plane.XZ) as s:
with Locations((20, 0)):
test = Rectangle(40, 40)
test2 = split(bisect_by=Plane.YZ)
revolve(axis=Axis.Z)
debug(test, name="Rectangle")
debug(test2, name="split")
show_object(p, name="calosc")
export_step(p.part, "/home/pali112/Build123d/debug.step")