Compare commits

3 Commits

10 changed files with 59084 additions and 67564 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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.

View File

@ -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