Compare commits
8 Commits
2a48edb3cf
...
rev1
Author | SHA1 | Date | |
---|---|---|---|
bebc4d5729 | |||
26dc83baf9 | |||
29e2464bef | |||
4386b1c017 | |||
8058118491 | |||
4279547773 | |||
e4a011f5bd | |||
a2932a4e49 |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
25920
notebook_nueva/model.stl
25920
notebook_nueva/model.stl
File diff suppressed because it is too large
Load Diff
@ -45,17 +45,17 @@ kbd_pillars = (
|
||||
# Measured from top-left corner OUTSIDE
|
||||
mounting_pillar_positions = [
|
||||
(6, -6),
|
||||
(width - 6, -6),
|
||||
(width - 6, -40),
|
||||
(120, -6),
|
||||
(170, -6),
|
||||
(width - 6, -6),
|
||||
(width - 6, -40),
|
||||
]
|
||||
|
||||
mounting_pillars = (
|
||||
cq.Sketch()
|
||||
.push(mounting_pillar_positions)
|
||||
.trapezoid(12, 12, 90, mode="a")
|
||||
.circle(1.5, mode="s")
|
||||
.circle(1.8, mode="s")
|
||||
)
|
||||
|
||||
screw_holes = cq.Sketch().push(mounting_pillar_positions).circle(3, mode="a")
|
||||
@ -82,7 +82,7 @@ battery_holder = (
|
||||
|
||||
power_in = cq.Sketch().circle(5, mode="a")
|
||||
usb_in = cq.Sketch().trapezoid(13, 5.5, 90, mode="a")
|
||||
switch_in = cq.Sketch().trapezoid(13.5, 8, 90, mode="a")
|
||||
switch_in = cq.Sketch().trapezoid(13.5, 8.5, 90, mode="a")
|
||||
|
||||
|
||||
# Motherboard mount
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -36,12 +36,17 @@ board_cutout = cq.Sketch().trapezoid(
|
||||
mode="a",
|
||||
)
|
||||
|
||||
kbd_cable_hole = cq.Sketch().trapezoid(15, 5, 90, mode="a").vertices().fillet(1)
|
||||
kbd_cable_hole = cq.Sketch().trapezoid(15, 6, 90, mode="a").vertices().fillet(1)
|
||||
|
||||
# The last mounting pillar is handled specially
|
||||
x, y = mounting_pillar_positions[-1]
|
||||
mounting_pillars = (
|
||||
cq.Sketch()
|
||||
.polygon([(0, 0), (width, 0), (width, -12), (0, -12), (0, 0)], mode="a")
|
||||
.polygon(
|
||||
[(x - 6, y - 6), (x - 6, y + 6), (x + 6, y + 6), (x + 6, y - 6), (x - 6, y - 6)]
|
||||
)
|
||||
.push(mounting_pillar_positions)
|
||||
.trapezoid(12, 12, 90, mode="a")
|
||||
.circle(ti_radius, mode="s")
|
||||
)
|
||||
|
||||
@ -94,7 +99,7 @@ def model():
|
||||
# Make small hole for the keyboard cable
|
||||
.faces(">Y")
|
||||
.workplane(offset=-5, centerOption="CenterOfBoundBox")
|
||||
.center(-width / 2 + 128, -23)
|
||||
.center(-width / 2 + 134, -24)
|
||||
.placeSketch(kbd_cable_hole)
|
||||
.cutBlind(-1000)
|
||||
# Pillars to join with bottom half
|
||||
@ -106,13 +111,17 @@ def model():
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
print("Exporting")
|
||||
exporters.export(model(), "screen_mount.stl")
|
||||
|
||||
offset_width = -133
|
||||
|
||||
right_side = (
|
||||
model()
|
||||
.faces(">X")
|
||||
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2)
|
||||
.center(0, height / 2)
|
||||
.workplane(centerOption="CenterOfBoundBox", offset=offset_width)
|
||||
.split(keepTop=True)
|
||||
)
|
||||
|
||||
@ -121,8 +130,7 @@ exporters.export(right_side, "right_screen_mount.stl")
|
||||
left_side = (
|
||||
model()
|
||||
.faces(">X")
|
||||
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2)
|
||||
.center(0, height / 2)
|
||||
.workplane(centerOption="CenterOfBoundBox", offset=offset_width)
|
||||
.split(keepBottom=True)
|
||||
)
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user