Shorter screen holder, rounded top, screen slightly slower

This commit is contained in:
Roberto Alsina 2022-11-25 18:15:42 -03:00
parent 6e8869363e
commit 59882af24f
5 changed files with 48316 additions and 56006 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -42,10 +42,13 @@ board_cutout = cq.Sketch().trapezoid(
def model():
return (
cq.Workplane("XY")
.workplane()
.box(width, 59, 59)
.workplane().tag("mid_height")
.box(width, 59, 62)
.faces(">Z")
.transformed(rotate=(45, 0, 0))
# Move the screen "lower" so it doesn't interfere
# so much with the back
.center(0, -2)
.tag("slanted")
# Arbitrary huge trapezoid to cut off the material *in front*
# of the inclined screen
@ -58,10 +61,15 @@ def model():
# Make hole for screen assembly so the whole screen fits
.workplaneFromTagged("slanted")
.workplane(offset=-shell_t, centerOption="CenterOfBoundBox")
# Left bezel is 4mm wider than right one, so this hole is displaced to the left
.center(-4, 0)
# Left bezel is wider than right one, so this hole is displaced to the left
.center(-3, 0)
.placeSketch(screen_cutout)
.cutBlind(-scr_thickness)
# Trim the top
.workplaneFromTagged("mid_height")
.workplane(offset=21)
.placeSketch(cq.Sketch().trapezoid(1000, 1000, 90, mode="a"))
.cutBlind(100)
# Make it hollow
.faces("<Z")
.shell(-2)
@ -70,6 +78,8 @@ def model():
.workplane(offset=-scr_thickness, centerOption="CenterOfBoundBox")
.placeSketch(board_cutout)
.cutBlind(-5)
# Fillet top of the object
.edges(">Z and |X").fillet(5)
)

File diff suppressed because it is too large Load Diff