USB inlet port

This commit is contained in:
Roberto Alsina 2022-11-23 10:25:10 -03:00
parent 897e314f9e
commit 6e01b44b52
3 changed files with 293 additions and 6 deletions

View File

@ -12705,9 +12705,44 @@ solid
endloop endloop
endfacet endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00 facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 8.000000e+01 0.000000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.480000e+02 -8.000000e+01 1.433862e+01 vertex 1.480000e+02 -8.000000e+01 1.433862e+01
vertex 1.480000e+02 -8.000000e+01 0.000000e+00 vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 1.433862e+01
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01 vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop endloop
endfacet endfacet
@ -12715,7 +12750,14 @@ solid
outer loop outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00 vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 8.000000e+01 0.000000e+00 vertex 1.480000e+02 8.000000e+01 0.000000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01 vertex 1.480000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
endloop endloop
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 facet normal -1.000000e+00 0.000000e+00 0.000000e+00
@ -12727,18 +12769,60 @@ solid
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01 vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01 vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
endloop endloop
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00 vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01
vertex 1.450000e+02 1.900000e+01 2.300000e+01 vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
endloop endloop
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+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 outer loop
vertex 1.450000e+02 7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
@ -27523,6 +27607,62 @@ solid
vertex -1.450000e+02 -7.900000e+01 1.442611e+01 vertex -1.450000e+02 -7.900000e+01 1.442611e+01
endloop endloop
endfacet endfacet
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 1.000000e+00 -0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 1.000000e+00 facet normal 0.000000e+00 0.000000e+00 1.000000e+00
outer loop outer loop
vertex -1.250986e+02 -6.997742e+01 3.000000e+00 vertex -1.250986e+02 -6.997742e+01 3.000000e+00

View File

@ -56,6 +56,7 @@ battery_holder = (
) )
power_in = cq.Sketch().circle(5, mode="a") power_in = cq.Sketch().circle(5, mode="a")
usb_in = cq.Sketch().trapezoid(13, 5.5, 90, mode="a")
def model(): def model():
@ -80,6 +81,12 @@ def model():
.center(-height / 2 + shell_t + 48.5, -3) .center(-height / 2 + shell_t + 48.5, -3)
.placeSketch(power_in) .placeSketch(power_in)
.cutBlind(-shell_t) .cutBlind(-shell_t)
# USB inlet
.faces(">X")
.workplane(centerOption="CenterOfBoundBox")
.center(-height / 2 + shell_t + 50, -5)
.placeSketch(usb_in)
.cutBlind(-shell_t)
# Slanted mounting pillars on the kbd top # Slanted mounting pillars on the kbd top
.faces(">Z") .faces(">Z")
.workplane(centerOption="CenterOfBoundBox") .workplane(centerOption="CenterOfBoundBox")

View File

@ -721,9 +721,44 @@ solid
endloop endloop
endfacet endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00 facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 8.000000e+01 0.000000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.480000e+02 -8.000000e+01 1.433862e+01 vertex 1.480000e+02 -8.000000e+01 1.433862e+01
vertex 1.480000e+02 -8.000000e+01 0.000000e+00 vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 1.000000e+00 -0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 1.433862e+01
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01 vertex 1.480000e+02 1.900000e+01 2.300000e+01
endloop endloop
endfacet endfacet
@ -731,7 +766,14 @@ solid
outer loop outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00 vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 8.000000e+01 0.000000e+00 vertex 1.480000e+02 8.000000e+01 0.000000e+00
vertex 1.480000e+02 1.900000e+01 2.300000e+01 vertex 1.480000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -8.000000e+01 0.000000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
endloop endloop
endfacet endfacet
facet normal -1.303678e-14 -8.715574e-02 9.961947e-01 facet normal -1.303678e-14 -8.715574e-02 9.961947e-01
@ -1002,18 +1044,60 @@ solid
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01 vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01 vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
endloop endloop
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00 vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 1.442611e+01
vertex 1.450000e+02 1.900000e+01 2.300000e+01 vertex 1.450000e+02 1.900000e+01 2.300000e+01
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
endloop endloop
endfacet endfacet
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+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 outer loop
vertex 1.450000e+02 7.900000e+01 3.000000e+00 vertex 1.450000e+02 7.900000e+01 3.000000e+00
@ -1987,6 +2071,62 @@ solid
vertex 1.460954e+02 -8.199772e+01 1.416384e+01 vertex 1.460954e+02 -8.199772e+01 1.416384e+01
endloop endloop
endfacet endfacet
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 1.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 1.000000e+00 -0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 1.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 3.750000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 -1.000000e+00 -0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
vertex 1.480000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal -0.000000e+00 -1.000000e+00 0.000000e+00
outer loop
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 3.750000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+00
vertex 1.480000e+02 -2.250000e+01 9.250000e+00
endloop
endfacet
facet normal 0.000000e+00 0.000000e+00 -1.000000e+00
outer loop
vertex 1.480000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -3.550000e+01 9.250000e+00
vertex 1.450000e+02 -2.250000e+01 9.250000e+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 outer loop
vertex 1.450000e+02 -7.900000e+01 3.000000e+00 vertex 1.450000e+02 -7.900000e+01 3.000000e+00