Missing files, screen mount simplified

This commit is contained in:
Roberto Alsina 2022-11-25 14:46:30 -03:00
parent e9b3a42564
commit bf1f0cc4ce
8 changed files with 50824 additions and 44615 deletions

Binary file not shown.

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.

Binary file not shown.

View File

@ -29,28 +29,19 @@ scr_thickness = 5.5
screen_cutout = cq.Sketch().trapezoid(scr_w, scr_h, 90, mode="a")
# Circuit board and cable space
board_cutout = cq.Sketch().polygon(
[
(0, 0),
(width / 2 - 10, 0),
(width / 2 - 10, vis_h - 20),
(0, vis_h - 20),
(0, 0),
],
board_cutout = cq.Sketch().trapezoid(
scr_w,
scr_h - 16,
90,
mode="a",
)
board_cutout_2 = cq.Sketch().polygon(
[
(0, 0),
(width / 2 - 10 + 4, 0),
(width / 2 - 10 + 4, vis_h - 20 + 4),
(0, vis_h - 20 + 4),
(0, 0),
],
board_cutout_2 = cq.Sketch().trapezoid(
scr_w + 5,
scr_h - 10,
90,
mode="a",
)
def model():
return (
cq.Workplane("XY")
@ -74,20 +65,18 @@ def model():
.placeSketch(screen_cutout)
.cutBlind(-scr_thickness)
# Cut for the screen board and cables
.workplaneFromTagged("slanted")
.workplane(offset=-shell_t - scr_thickness, centerOption="CenterOfBoundBox")
.center(0, -(vis_h - 20) / 2)
.placeSketch(board_cutout)
.cutBlind(-5)
# .workplaneFromTagged("slanted")
# .workplane(offset=-shell_t - scr_thickness, centerOption="CenterOfBoundBox")
# .placeSketch(board_cutout)
# .cutBlind(-1)
# Make it hollow
.faces("<Z")
.shell(-2)
# Cut AGAIN for the screen board and cables
.workplaneFromTagged("slanted")
.workplane(offset=-shell_t - scr_thickness, centerOption="CenterOfBoundBox")
.center(0, -(vis_h -20 + 4) / 2)
.workplane(offset=-scr_thickness, centerOption="CenterOfBoundBox")
.placeSketch(board_cutout_2)
.cutBlind(-7)
.cutBlind(-5)
)

File diff suppressed because it is too large Load Diff