Started plug cutout

This commit is contained in:
Roberto Alsina 2022-07-24 10:29:07 -03:00
parent f42566d13a
commit 28131b370e

View File

@ -11,6 +11,10 @@ board_cutout = (
cq.Sketch().trapezoid(55, 50, 90, mode="a").reset().vertices("<X").fillet(5)
)
plug_cutout = (
cq.Sketch().trapezoid(55, 11, 90, mode="a").reset().vertices("<X")
)
cable_relief = (
cq.Sketch().trapezoid(width, 30, 90)
)
@ -48,10 +52,15 @@ case = (
.lineTo(0, height)
.close()
.extrude(length)
.faces(">X")
.shell(-shell_t)
.edges("|X")
.fillet(fillet_s)
# Cutout room for plugs to slide in and be exposed
.faces(">X")
.workplane(centerOption="CenterOfBoundBox")
.center(0,-5)
.placeSketch(plug_cutout)
.cutBlind(-width/2)
# Cutout visible screen area from top face
.faces(">Z")
.workplane(centerOption="CenterOfBoundBox")