cadquery/notebook_nueva/battery_holder.py

9 lines
271 B
Python
Raw Normal View History

2023-02-16 17:57:32 +00:00
import cadquery2 as cq
from cadquery2 import exporters
2023-02-16 17:57:51 +00:00
cpu_stand_positions = [(0, 0), (58, 0), (58, 48), (0, 48)]
2023-02-16 17:57:32 +00:00
2023-02-16 17:57:51 +00:00
lower_stands = cq.Sketch().push(cpu_stand_positions).circle(3, mode="a")
2023-02-16 17:57:32 +00:00
2023-02-16 17:57:51 +00:00
higher_stands = cq.Sketch().push(cpu_stand_positions).circle(2.65 / 2, mode="a")