Added light sensor well.

This commit is contained in:
Shy 2023-05-02 13:40:40 +02:00
parent 1de2d31927
commit 4b7901498d
3 changed files with 94 additions and 5 deletions

View file

@ -384,6 +384,14 @@ module casing_front() {
}
}
// Schacht für den Lichtsensor.
color(color_struts)
translate([0, 0, thickness]) {
linear_extrude(height = space) {
import("./svg/front well.svg");
}
}
// Verstärkungen für die Analog-Sticks.
if (analog_sticks) {
color(color_struts)

View file

@ -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.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="front construction.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
@ -45,11 +45,11 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.5129356"
inkscape:cx="283.5547"
inkscape:zoom="2.2345265"
inkscape:cx="283.28149"
inkscape:cy="207.87402"
inkscape:document-units="mm"
inkscape:current-layer="layer6"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:showpageshadow="true"
@ -1030,6 +1030,11 @@
cx="118.25"
cy="23.5"
r="3" />
<path
id="path522"
style="color:#000000;opacity:0.75;fill:#ff6600;fill-rule:evenodd;-inkscape-stroke:none"
d="m 118.25015,18.999874 c -2.4676,-2.8e-4 -4.49984,2.032385 -4.49999,4.499984 7.1e-4,1.385549 0.64116,2.697726 1.73426,3.549137 l 5.9893,4.668966 a 12,12 0 0 1 0.52607,-1.491899 l -5.58777,-4.356323 a 3,3 0 0 1 -0.006,-0.0047 3,3 0 0 1 -1.15652,-2.36523 3,3 0 0 1 3.00034,-2.999817 3,3 0 0 1 1.90066,0.678511 l 5.53506,4.315499 a 12,12 0 0 1 1.32033,-0.873332 l -5.90455,-4.603336 -0.006,-0.0036 c -0.803,-0.655271 -1.80862,-1.014056 -2.8453,-1.013891 z"
inkscape:label="well" />
</g>
<g
inkscape:groupmode="layer"
@ -1204,7 +1209,7 @@
<path
id="path5966"
style="color:#000000;fill:#aad400;fill-rule:evenodd;stroke-width:3.77953;-inkscape-stroke:none"
d="M 411.96875 128.50391 L 411.96875 136.0625 L 501.11133 136.0625 L 563.15039 198.09961 L 563.15039 187.41211 L 504.24219 128.50391 L 411.96875 128.50391 z "
d="m 411.96875,128.50391 v 7.55859 h 89.14258 l 62.03906,62.03711 v -10.6875 l -58.9082,-58.9082 z"
transform="scale(0.26458333)" />
<path
style="fill:none;fill-rule:evenodd;stroke:#aad400;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 199 KiB

76
svg/front well.svg Normal file
View file

@ -0,0 +1,76 @@
<?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.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="front well.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.5129356"
inkscape:cx="284.87663"
inkscape:cy="208.53498"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:showpageshadow="true"
inkscape:snap-bbox="false"
inkscape:bbox-nodes="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-object-midpoints="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" />
</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:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
id="path522"
style="color:#000000;display:inline;opacity:1;fill:#ff6600;fill-rule:evenodd;-inkscape-stroke:none"
d="m 118.25016,18.999874 c -2.4676,-2.8e-4 -4.49985,2.032385 -4.5,4.499984 7.1e-4,1.385549 0.64116,2.697726 1.73427,3.549137 l 5.9893,4.668966 a 12,12 0 0 1 0.52607,-1.491899 l -5.58777,-4.356323 a 3,3 0 0 1 -0.006,-0.0047 3,3 0 0 1 -1.15653,-2.36523 3,3 0 0 1 3.00035,-2.999817 3,3 0 0 1 1.90066,0.678511 l 5.53506,4.315499 a 12,12 0 0 1 1.32033,-0.873332 l -5.90455,-4.603336 -0.006,-0.0036 c -0.803,-0.655271 -1.80862,-1.014056 -2.8453,-1.013891 z"
inkscape:label="well" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB