diff --git a/back.scad b/back.scad index 4cf7f65..6cf2dde 100644 --- a/back.scad +++ b/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"); + } + } + } } diff --git a/svg/back construction.svg b/svg/back construction.svg index e01a9a0..95e3c19 100644 --- a/svg/back construction.svg +++ b/svg/back construction.svg @@ -5,7 +5,7 @@ viewBox="0 0 150 110" version="1.1" id="svg8" - inkscape:version="1.2 (dc2aedaf03, 2022-05-15)" + inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)" sodipodi:docname="back construction.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -36,13 +36,13 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="2.2176894" - inkscape:cx="269.1991" - inkscape:cy="208.09948" + inkscape:zoom="2.4839156" + inkscape:cx="357.90266" + inkscape:cy="144.52987" inkscape:document-units="mm" - inkscape:current-layer="layer3" + inkscape:current-layer="layer1" inkscape:document-rotation="0" - showgrid="false" + showgrid="true" inkscape:showpageshadow="true" inkscape:snap-bbox="true" inkscape:bbox-nodes="true" @@ -55,14 +55,22 @@ inkscape:snap-object-midpoints="true" inkscape:snap-nodes="true" inkscape:pagecheckerboard="0" - inkscape:deskcolor="#d1d1d1"> + inkscape:deskcolor="#d1d1d1" + inkscape:window-width="1438" + inkscape:window-height="880" + inkscape:window-x="0" + inkscape:window-y="16" + inkscape:window-maximized="1"> + empspacing="4" + originx="0" + originy="0" + visible="true" /> + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + +