New audio plug holes, moved USB hub plug so that's doable
This commit is contained in:
parent
804f012b19
commit
e307750c8d
Binary file not shown.
@ -79,6 +79,10 @@ screw_holes = cq.Sketch().push(mounting_pillar_positions).circle(3, mode="a")
|
||||
# Hole for the USB hub's exposed port
|
||||
usb_in = cq.Sketch().trapezoid(13, 5.5, 90, mode="a")
|
||||
|
||||
# Hole for the USB hub's exposed port
|
||||
audio_in = cq.Sketch().trapezoid(17, 6, 90, mode="a")
|
||||
|
||||
|
||||
# Holes for the battery power cable and button
|
||||
power_in = cq.Sketch().trapezoid(10, 5.5, 90, mode="a")
|
||||
power_button_cut = cq.Sketch().trapezoid(7, 7, 90, mode="a")
|
||||
@ -105,27 +109,35 @@ def model():
|
||||
.faces(">Z")
|
||||
.shell(-shell_t)
|
||||
# Power inlet
|
||||
# The position is arbitrary, based on the components available
|
||||
.faces(">Y")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
# The position is arbitrary, based on the components available
|
||||
.center(width / 2 - 15 - 21, -8.5)
|
||||
.placeSketch(power_in)
|
||||
.cutBlind(-shell_t)
|
||||
# Power button
|
||||
# The position is arbitrary, based on the components available,
|
||||
.faces(">Y")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
# The position is arbitrary, based on the components available,
|
||||
.center(width / 2 - 67 - 21, -1)
|
||||
.placeSketch(power_button_cut)
|
||||
.cutBlind(-shell_t)
|
||||
# USB inlet
|
||||
.faces(">X")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
# The position is arbitrary, based on the components
|
||||
# available, keyboard height, cable length, etc.
|
||||
.center(-height / 2 + shell_t + 60, -8)
|
||||
.faces(">X")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
.center(-height / 2 + shell_t + 45 + 13 / 2, -8)
|
||||
.placeSketch(usb_in)
|
||||
.cutBlind(-shell_t)
|
||||
# Audio plugs
|
||||
# The position is arbitrary, based on the components
|
||||
# available, keyboard height, cable length, etc.
|
||||
.faces("<Y")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
.center(width / 2 - shell_t - 34.5 - 17 / 2, -8)
|
||||
.placeSketch(audio_in)
|
||||
.cutBlind(-shell_t)
|
||||
# Slanted mounting pillars on the kbd top
|
||||
.faces(">Z")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user