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
|
# Hole for the USB hub's exposed port
|
||||||
usb_in = cq.Sketch().trapezoid(13, 5.5, 90, mode="a")
|
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
|
# Holes for the battery power cable and button
|
||||||
power_in = cq.Sketch().trapezoid(10, 5.5, 90, mode="a")
|
power_in = cq.Sketch().trapezoid(10, 5.5, 90, mode="a")
|
||||||
power_button_cut = cq.Sketch().trapezoid(7, 7, 90, mode="a")
|
power_button_cut = cq.Sketch().trapezoid(7, 7, 90, mode="a")
|
||||||
@ -105,27 +109,35 @@ def model():
|
|||||||
.faces(">Z")
|
.faces(">Z")
|
||||||
.shell(-shell_t)
|
.shell(-shell_t)
|
||||||
# Power inlet
|
# Power inlet
|
||||||
|
# The position is arbitrary, based on the components available
|
||||||
.faces(">Y")
|
.faces(">Y")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
# The position is arbitrary, based on the components available
|
|
||||||
.center(width / 2 - 15 - 21, -8.5)
|
.center(width / 2 - 15 - 21, -8.5)
|
||||||
.placeSketch(power_in)
|
.placeSketch(power_in)
|
||||||
.cutBlind(-shell_t)
|
.cutBlind(-shell_t)
|
||||||
# Power button
|
# Power button
|
||||||
|
# The position is arbitrary, based on the components available,
|
||||||
.faces(">Y")
|
.faces(">Y")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
# The position is arbitrary, based on the components available,
|
|
||||||
.center(width / 2 - 67 - 21, -1)
|
.center(width / 2 - 67 - 21, -1)
|
||||||
.placeSketch(power_button_cut)
|
.placeSketch(power_button_cut)
|
||||||
.cutBlind(-shell_t)
|
.cutBlind(-shell_t)
|
||||||
# USB inlet
|
# USB inlet
|
||||||
.faces(">X")
|
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
|
||||||
# The position is arbitrary, based on the components
|
# The position is arbitrary, based on the components
|
||||||
# available, keyboard height, cable length, etc.
|
# 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)
|
.placeSketch(usb_in)
|
||||||
.cutBlind(-shell_t)
|
.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
|
# Slanted mounting pillars on the kbd top
|
||||||
.faces(">Z")
|
.faces(">Z")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user