2-level kbd mounting pillars
This commit is contained in:
parent
a6d3f32797
commit
b85ba1f3e1
File diff suppressed because it is too large
Load Diff
80312
notebook_nueva/model.stl
80312
notebook_nueva/model.stl
File diff suppressed because it is too large
Load Diff
@ -22,24 +22,34 @@ ti_radius = 2.35
|
||||
ti_depth = 6.25
|
||||
|
||||
# Positions are determined by measuring the keyboard
|
||||
# mounting holes
|
||||
kbd_pillars = (
|
||||
cq.Sketch()
|
||||
.push(
|
||||
[
|
||||
|
||||
kbd_pillar_positions = [
|
||||
(18.25, -16),
|
||||
(142.5, -25.5),
|
||||
(kbd_width - 20, -16),
|
||||
(23.5, -79.5),
|
||||
(145.5, -82.5),
|
||||
(kbd_width - 19, -79.5),
|
||||
]
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
# mounting holes
|
||||
kbd_pillars = (
|
||||
cq.Sketch()
|
||||
.push(kbd_pillar_positions)
|
||||
.circle(2.2, mode="a")
|
||||
# Holes for self-tapping screws
|
||||
.circle(1.1, mode="s")
|
||||
)
|
||||
|
||||
kbd_lower_pillars = (
|
||||
cq.Sketch()
|
||||
.push(kbd_pillar_positions)
|
||||
.circle(4, mode="a")
|
||||
# Holes for self-tapping screws
|
||||
.circle(1.1, mode="s")
|
||||
)
|
||||
|
||||
# These are placed where convenient, and are used to join the top and bottom
|
||||
# parts of the case.
|
||||
# Measured from top-left corner OUTSIDE
|
||||
@ -131,6 +141,10 @@ def model():
|
||||
.tag("sloped")
|
||||
.placeSketch(kbd_pillars)
|
||||
.extrude(-1000)
|
||||
.workplaneFromTagged("sloped")
|
||||
.workplane(offset=-3)
|
||||
.placeSketch(kbd_lower_pillars)
|
||||
.extrude(-1000)
|
||||
# Remove the excess extrusion
|
||||
.workplaneFromTagged("mid_height")
|
||||
.transformed(offset=cq.Vector(0, 0, -thickness / 2))
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user