Compare commits
3 Commits
2a48edb3cf
...
resin
Author | SHA1 | Date | |
---|---|---|---|
895e24575e | |||
e4a011f5bd | |||
a2932a4e49 |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
25816
notebook_nueva/model.stl
25816
notebook_nueva/model.stl
File diff suppressed because it is too large
Load Diff
@ -55,7 +55,7 @@ mounting_pillars = (
|
|||||||
cq.Sketch()
|
cq.Sketch()
|
||||||
.push(mounting_pillar_positions)
|
.push(mounting_pillar_positions)
|
||||||
.trapezoid(12, 12, 90, mode="a")
|
.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")
|
screw_holes = cq.Sketch().push(mounting_pillar_positions).circle(3, mode="a")
|
||||||
|
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.
@ -10,6 +10,8 @@ from modelo import (
|
|||||||
ti_radius,
|
ti_radius,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ti_radius = 2.5
|
||||||
|
|
||||||
# Size of the whole object
|
# Size of the whole object
|
||||||
width = kbd_width + 2 * shell_t
|
width = kbd_width + 2 * shell_t
|
||||||
height = 59
|
height = 59
|
||||||
@ -40,8 +42,8 @@ kbd_cable_hole = cq.Sketch().trapezoid(15, 5, 90, mode="a").vertices().fillet(1)
|
|||||||
|
|
||||||
mounting_pillars = (
|
mounting_pillars = (
|
||||||
cq.Sketch()
|
cq.Sketch()
|
||||||
|
.polygon([(0, 0), (width, 0), (width, -12), (0, -12), (0, 0)], mode="a")
|
||||||
.push(mounting_pillar_positions)
|
.push(mounting_pillar_positions)
|
||||||
.trapezoid(12, 12, 90, mode="a")
|
|
||||||
.circle(ti_radius, mode="s")
|
.circle(ti_radius, mode="s")
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -108,10 +110,12 @@ def model():
|
|||||||
|
|
||||||
exporters.export(model(), "screen_mount.stl")
|
exporters.export(model(), "screen_mount.stl")
|
||||||
|
|
||||||
|
split_offset = -133
|
||||||
|
|
||||||
right_side = (
|
right_side = (
|
||||||
model()
|
model()
|
||||||
.faces(">X")
|
.faces(">X")
|
||||||
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2)
|
.workplane(centerOption="CenterOfBoundBox", offset=split_offset)
|
||||||
.center(0, height / 2)
|
.center(0, height / 2)
|
||||||
.split(keepTop=True)
|
.split(keepTop=True)
|
||||||
)
|
)
|
||||||
@ -121,7 +125,7 @@ exporters.export(right_side, "right_screen_mount.stl")
|
|||||||
left_side = (
|
left_side = (
|
||||||
model()
|
model()
|
||||||
.faces(">X")
|
.faces(">X")
|
||||||
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2)
|
.workplane(centerOption="CenterOfBoundBox", offset=split_offset)
|
||||||
.center(0, height / 2)
|
.center(0, height / 2)
|
||||||
.split(keepBottom=True)
|
.split(keepBottom=True)
|
||||||
)
|
)
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user