Prototype CPU holder
This commit is contained in:
parent
18a8e9a904
commit
c5b2d68518
31
notebook_nueva/cpu_holder.py
Normal file
31
notebook_nueva/cpu_holder.py
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
import cadquery2 as cq
|
||||||
|
from cadquery2 import exporters
|
||||||
|
|
||||||
|
|
||||||
|
lower_stands = (
|
||||||
|
cq.Sketch()
|
||||||
|
.push([(0,0), (58, 0), (58, 23), (0, 23)])
|
||||||
|
.circle(5, mode="a")
|
||||||
|
)
|
||||||
|
|
||||||
|
higher_stands = (
|
||||||
|
cq.Sketch()
|
||||||
|
.push([(0,0), (58, 0), (58, 23), (0, 23)])
|
||||||
|
.circle(2.65, mode="a")
|
||||||
|
)
|
||||||
|
|
||||||
|
model = (
|
||||||
|
cq.Workplane("XY")
|
||||||
|
.workplane()
|
||||||
|
.box(75, 40, 2)
|
||||||
|
.faces(">Z")
|
||||||
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
|
.center(-29, -11.5)
|
||||||
|
.placeSketch(lower_stands)
|
||||||
|
.extrude(3)
|
||||||
|
.workplane()
|
||||||
|
.placeSketch(higher_stands)
|
||||||
|
.extrude(8)
|
||||||
|
)
|
||||||
|
|
||||||
|
exporters.export(model, "cpu_holder.stl")
|
28310
notebook_nueva/cpu_holder.stl
Normal file
28310
notebook_nueva/cpu_holder.stl
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user