Adjust battery holder dimensions
This commit is contained in:
parent
9840e6ad70
commit
424396a266
@ -1,7 +1,7 @@
|
|||||||
import cadquery2 as cq
|
import cadquery2 as cq
|
||||||
from cadquery2 import exporters
|
from cadquery2 import exporters
|
||||||
|
|
||||||
cpu_stand_positions = [(0, 0), (58, 0), (58, 48), (0, 48)]
|
cpu_stand_positions = [(0, 0), (54, 0), (54, 48), (0, 48)]
|
||||||
|
|
||||||
lower_stands = cq.Sketch().push(cpu_stand_positions).circle(3, mode="a")
|
lower_stands = cq.Sketch().push(cpu_stand_positions).circle(3, mode="a")
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
15130
notebook_nueva/model.stl
15130
notebook_nueva/model.stl
File diff suppressed because it is too large
Load Diff
@ -79,6 +79,9 @@ 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")
|
||||||
|
|
||||||
|
# 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")
|
||||||
|
|
||||||
# CPU stand pins
|
# CPU stand pins
|
||||||
lower_stands = (
|
lower_stands = (
|
||||||
@ -101,6 +104,20 @@ def model():
|
|||||||
.fillet(2)
|
.fillet(2)
|
||||||
.faces(">Z")
|
.faces(">Z")
|
||||||
.shell(-shell_t)
|
.shell(-shell_t)
|
||||||
|
# Power inlet
|
||||||
|
.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
|
||||||
|
.faces(">Y")
|
||||||
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
|
# The position is arbitrary, based on the components available,
|
||||||
|
.center(width / 2 - 63 - 21, -1)
|
||||||
|
.placeSketch(power_button_cut)
|
||||||
|
.cutBlind(-shell_t)
|
||||||
# USB inlet
|
# USB inlet
|
||||||
.faces(">X")
|
.faces(">X")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
|
Loading…
Reference in New Issue
Block a user