Shorter screen holder, rounded top, screen slightly slower
This commit is contained in:
parent
6e8869363e
commit
59882af24f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -42,10 +42,13 @@ board_cutout = cq.Sketch().trapezoid(
|
|||||||
def model():
|
def model():
|
||||||
return (
|
return (
|
||||||
cq.Workplane("XY")
|
cq.Workplane("XY")
|
||||||
.workplane()
|
.workplane().tag("mid_height")
|
||||||
.box(width, 59, 59)
|
.box(width, 59, 62)
|
||||||
.faces(">Z")
|
.faces(">Z")
|
||||||
.transformed(rotate=(45, 0, 0))
|
.transformed(rotate=(45, 0, 0))
|
||||||
|
# Move the screen "lower" so it doesn't interfere
|
||||||
|
# so much with the back
|
||||||
|
.center(0, -2)
|
||||||
.tag("slanted")
|
.tag("slanted")
|
||||||
# Arbitrary huge trapezoid to cut off the material *in front*
|
# Arbitrary huge trapezoid to cut off the material *in front*
|
||||||
# of the inclined screen
|
# of the inclined screen
|
||||||
@ -58,10 +61,15 @@ def model():
|
|||||||
# Make hole for screen assembly so the whole screen fits
|
# Make hole for screen assembly so the whole screen fits
|
||||||
.workplaneFromTagged("slanted")
|
.workplaneFromTagged("slanted")
|
||||||
.workplane(offset=-shell_t, centerOption="CenterOfBoundBox")
|
.workplane(offset=-shell_t, centerOption="CenterOfBoundBox")
|
||||||
# Left bezel is 4mm wider than right one, so this hole is displaced to the left
|
# Left bezel is wider than right one, so this hole is displaced to the left
|
||||||
.center(-4, 0)
|
.center(-3, 0)
|
||||||
.placeSketch(screen_cutout)
|
.placeSketch(screen_cutout)
|
||||||
.cutBlind(-scr_thickness)
|
.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
|
# Make it hollow
|
||||||
.faces("<Z")
|
.faces("<Z")
|
||||||
.shell(-2)
|
.shell(-2)
|
||||||
@ -70,6 +78,8 @@ def model():
|
|||||||
.workplane(offset=-scr_thickness, centerOption="CenterOfBoundBox")
|
.workplane(offset=-scr_thickness, centerOption="CenterOfBoundBox")
|
||||||
.placeSketch(board_cutout)
|
.placeSketch(board_cutout)
|
||||||
.cutBlind(-5)
|
.cutBlind(-5)
|
||||||
|
# Fillet top of the object
|
||||||
|
.edges(">Z and |X").fillet(5)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user