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) 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 = ( cable_relief = (
cq.Sketch().trapezoid(width, 30, 90) cq.Sketch().trapezoid(width, 30, 90)
) )
@ -48,10 +52,15 @@ case = (
.lineTo(0, height) .lineTo(0, height)
.close() .close()
.extrude(length) .extrude(length)
.faces(">X")
.shell(-shell_t) .shell(-shell_t)
.edges("|X") .edges("|X")
.fillet(fillet_s) .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 # Cutout visible screen area from top face
.faces(">Z") .faces(">Z")
.workplane(centerOption="CenterOfBoundBox") .workplane(centerOption="CenterOfBoundBox")