Durchbruch für den I2C-Anschluss.
This commit is contained in:
parent
45dd5c16c7
commit
37496ec4af
3 changed files with 130 additions and 2258 deletions
15
back.scad
15
back.scad
|
@ -70,6 +70,9 @@ button_support = true;
|
|||
// Strukturen zur Stützung der Analog Sticks.
|
||||
stick_support = true;
|
||||
|
||||
// Öffnung für den I²C-Anschluss.
|
||||
i2c_port = true;
|
||||
|
||||
// Platziere Reflektionsflächen unter den LEDs.
|
||||
led_reflectors = false;
|
||||
|
||||
|
@ -513,16 +516,26 @@ module body_back() {
|
|||
}
|
||||
}
|
||||
|
||||
// Platzierung der Bohrungen.
|
||||
// Bohrungen und andere Durchbrüche.
|
||||
difference() {
|
||||
body_back();
|
||||
union() {
|
||||
// Platzierung der Bohrungen.
|
||||
// Bei einem Gewindeeinsatz wird die Decke nicht durchbohrt.
|
||||
floor = threaded_insert ? top : 0;
|
||||
for (i = [0:3]) {
|
||||
translate([drill_pos[i][0], drill_pos[i][1], floor])
|
||||
screw_drill();
|
||||
}
|
||||
|
||||
// I2C-Anschluss.
|
||||
if (i2c_port) {
|
||||
translate([0, 0, -0.1])
|
||||
linear_extrude(height=top + 0.2) {
|
||||
import("./svg/back top i2c.svg");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 246 KiB |
89
svg/back top i2c.svg
Normal file
89
svg/back top i2c.svg
Normal file
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="150mm"
|
||||
height="110mm"
|
||||
viewBox="0 0 150 110"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
||||
sodipodi:docname="back top i2c.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.5249621"
|
||||
inkscape:cx="283.28572"
|
||||
inkscape:cy="207.87402"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="false"
|
||||
inkscape:showpageshadow="true"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:bbox-nodes="true"
|
||||
inkscape:snap-page="true"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:window-width="1438"
|
||||
inkscape:window-height="880"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="16"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid833"
|
||||
units="mm"
|
||||
spacingx="0.25"
|
||||
spacingy="0.25"
|
||||
empspacing="4"
|
||||
originx="0"
|
||||
originy="0"
|
||||
visible="false" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
id="rect1"
|
||||
style="display:inline;opacity:1;fill:#000000;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round"
|
||||
d="M -108.00013 16.499768 C -107.44613 16.499768 -107.00019 16.946224 -107.00019 17.500224 L -107.00019 27.250016 C -107.00019 27.804016 -107.44613 28.249955 -108.00013 28.249955 L -110 28.249955 C -110.554 28.249955 -110.99994 27.804016 -110.99994 27.250016 L -110.99994 17.500224 C -110.99994 16.946224 -110.554 16.499768 -110 16.499768 L -108.00013 16.499768 z "
|
||||
transform="scale(-1,1)" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3 KiB |
Loading…
Reference in a new issue