Add power switch hole
This commit is contained in:
parent
85d4fb661f
commit
18a8e9a904
@ -12146,16 +12146,58 @@ solid
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex -1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex -1.440000e+02 8.200000e+01 2.300000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex -1.440000e+02 8.200000e+01 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex -1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.996988e-01 2.454123e-02 0.000000e+00
|
||||
@ -12732,20 +12774,62 @@ solid
|
||||
vertex 1.430000e+02 -2.250000e+01 3.750000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex -1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex -1.430000e+02 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex -1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex -1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex -1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex -1.430000e+02 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.430000e+02 7.900000e+01 2.300000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.430000e+02 3.416526e+01 5.099136e+00
|
||||
@ -27453,6 +27537,62 @@ solid
|
||||
vertex -1.430000e+02 -7.900000e+01 1.442611e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 0.000000e+00 1.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 0.000000e+00 -1.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -0.000000e+00 -1.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
|
||||
outer loop
|
||||
vertex 1.460000e+02 -2.250000e+01 3.750000e+00
|
||||
|
@ -54,6 +54,7 @@ battery_holder = (
|
||||
|
||||
power_in = cq.Sketch().circle(5, mode="a")
|
||||
usb_in = cq.Sketch().trapezoid(13, 5.5, 90, mode="a")
|
||||
switch_in = cq.Sketch().trapezoid(13.5, 8, 90, mode="a")
|
||||
|
||||
|
||||
def model():
|
||||
@ -84,6 +85,12 @@ def model():
|
||||
.center(-height / 2 + shell_t + 50, -5)
|
||||
.placeSketch(usb_in)
|
||||
.cutBlind(-shell_t)
|
||||
# Hole for power switch
|
||||
.faces(">Y")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
.center(-height / 2 + shell_t + 50, 0)
|
||||
.placeSketch(switch_in)
|
||||
.cutBlind(-shell_t)
|
||||
# Slanted mounting pillars on the kbd top
|
||||
.faces(">Z")
|
||||
.workplane(centerOption="CenterOfBoundBox")
|
||||
|
@ -253,18 +253,60 @@ solid
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 1.400000e+01 8.200000e+01 2.300000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 1.400000e+01 8.200000e+01 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.400000e+01 8.200000e+01 0.000000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 1.400000e+01 8.200000e+01 2.300000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 1.400000e+01 8.200000e+01 0.000000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 1.400000e+01 8.200000e+01 2.300000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.440000e+02 8.200000e+01 0.000000e+00
|
||||
vertex 1.400000e+01 8.200000e+01 0.000000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.400000e+01 8.200000e+01 2.300000e+01
|
||||
vertex 1.440000e+02 8.200000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.996988e-01 2.454123e-02 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.459976e+02 8.009814e+01 2.300000e+01
|
||||
@ -1098,20 +1140,62 @@ solid
|
||||
vertex 1.430000e+02 -2.250000e+01 3.750000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.400000e+01 7.900000e+01 2.300000e+01
|
||||
vertex 1.400000e+01 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 -1.000000e+00 -0.000000e+00
|
||||
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.400000e+01 7.900000e+01 3.000000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 1.400000e+01 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.400000e+01 7.900000e+01 2.300000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 2.300000e+01
|
||||
vertex 1.400000e+01 7.900000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.400000e+01 7.900000e+01 2.300000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 1.430000e+02 7.900000e+01 2.300000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.430000e+02 7.900000e+01 3.000000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 1.400000e+01 7.900000e+01 3.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.400000e+01 7.900000e+01 3.000000e+00
|
||||
@ -1616,6 +1700,62 @@ solid
|
||||
vertex 1.451111e+02 8.166294e+01 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 0.000000e+00 1.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 7.500000e+00
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 7.500000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 0.000000e+00 -1.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 8.200000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -0.000000e+00 -1.000000e+00
|
||||
outer loop
|
||||
vertex 3.575000e+01 8.200000e+01 1.550000e+01
|
||||
vertex 3.575000e+01 7.900000e+01 1.550000e+01
|
||||
vertex 2.225000e+01 7.900000e+01 1.550000e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.997373e-01 -2.292180e-02 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.459979e+02 -8.009166e+01 1.433060e+01
|
||||
|
Loading…
Reference in New Issue
Block a user