21 lines
482 B
Python
21 lines
482 B
Python
"""
|
|
Too Tall Toby Party Pack 01-02 Post Cap
|
|
"""
|
|
|
|
from build123d import *
|
|
|
|
densa = 7800 / 1e6 # carbon steel density g/mm^3
|
|
densb = 2700 / 1e6 # aluminum alloy
|
|
densc = 1020 / 1e6 # ABS
|
|
|
|
with BuildPart() as p:
|
|
with BuildSketch(Plane.XZ) as s:
|
|
Rectangle(49, 48 - 8, align=(Align.CENTER, Align.MIN)) # wysokość 40
|
|
with Locations((4.5, 40)):
|
|
Ellipse(20 , 8)
|
|
split(bisect_by=Plane.YZ)
|
|
revolve(axis=Axis.Z)
|
|
|
|
show_object(p)
|
|
debug(s.sketch)
|