Make the graphics nice

This commit is contained in:
Evan Pratten 2022-10-14 12:13:52 -04:00
parent c4801ac7fe
commit 8e30a4c08d
3 changed files with 310 additions and 110 deletions

299
res/a10u8r_module.svg Normal file
View File

@ -0,0 +1,299 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="10.16mm"
height="128.5mm"
viewBox="0 0 10.160001 128.50002"
version="1.1"
id="svg8"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
sodipodi:docname="a10u8r_module.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.979899"
inkscape:cx="-178.797"
inkscape:cy="216.42518"
inkscape:document-units="mm"
inkscape:current-layer="layer4"
showgrid="false"
units="mm"
inkscape:snap-bbox="true"
inkscape:snap-page="true"
inkscape:bbox-nodes="false"
inkscape:snap-bbox-edge-midpoints="false"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="0"
inkscape:window-y="268"
inkscape:window-maximized="1"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-nodes="false"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<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"
transform="translate(0,-168.49998)">
<rect
style="display:inline;opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.374907;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="rect420"
width="10.16"
height="128.5"
x="0"
y="168.49997"
inkscape:label="plate" />
<g
id="g1707"
inkscape:label="nameplate"
transform="translate(0,1.0583333)">
<rect
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke-width:4.28899"
id="rect1284"
width="10.16"
height="11.370002"
x="0"
y="174.66949"
ry="0"
inkscape:label="name_bg" />
<g
aria-label="A10"
id="text326"
style="font-size:4.58611px;line-height:1.25;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700;fill:#e6e6e6;stroke-width:0.264583"
transform="translate(0,-0.52916667)">
<path
d="M 3.3762576,180.62666 3.1377798,179.84702 H 1.9453912 l -0.2384777,0.77964 H 0.95937753 l 1.15569977,-3.28824 h 0.8484303 l 1.1602859,3.28824 z m -0.6420555,-2.12337 q -0.022931,-0.078 -0.059619,-0.1972 -0.036689,-0.11924 -0.073378,-0.24306 -0.036689,-0.12383 -0.059619,-0.21555 -0.022931,0.0917 -0.064205,0.22931 -0.036689,0.13299 -0.073378,0.25682 -0.032103,0.11924 -0.050447,0.16968 l -0.2338916,0.7613 H 2.972681 Z"
id="path1710" />
<path
d="M 6.0178595,180.62666 H 5.3253568 v -1.89406 q 0,-0.078 0,-0.19262 0.00459,-0.11465 0.00917,-0.23847 0.00459,-0.12383 0.00917,-0.22014 -0.022931,0.0275 -0.1008944,0.1009 -0.073378,0.0688 -0.1375833,0.12382 l -0.3760611,0.30268 -0.334786,-0.41733 1.0548053,-0.83926 H 6.017855 Z"
id="path1712" />
<path
d="m 9.2006223,178.98942 q 0,0.39441 -0.064205,0.70626 -0.059619,0.31186 -0.1972028,0.53199 -0.1329972,0.21555 -0.3531305,0.3302 -0.2155471,0.11465 -0.5319887,0.11465 -0.3944055,0 -0.6466416,-0.20178 -0.252236,-0.20179 -0.376061,-0.57785 -0.1192389,-0.37607 -0.1192389,-0.90347 0,-0.53199 0.1100667,-0.90805 0.1100666,-0.37606 0.3623027,-0.57785 0.252236,-0.20179 0.6695721,-0.20179 0.3944054,0 0.6466415,0.20179 0.2522361,0.1972 0.376061,0.57785 0.123825,0.37606 0.1238245,0.90805 z m -1.6005524,0 q 0,0.37148 0.041275,0.62371 0.041275,0.24765 0.1375833,0.37606 0.1008944,0.12383 0.2751666,0.12383 0.1742722,0 0.2705805,-0.12383 0.1008944,-0.12382 0.1421694,-0.37147 0.045861,-0.25224 0.045861,-0.6283 0,-0.37606 -0.045861,-0.62371 -0.041275,-0.25224 -0.1421694,-0.37606 -0.096308,-0.12841 -0.2705805,-0.12841 -0.1742722,0 -0.2751666,0.12841 -0.096308,0.12382 -0.1375833,0.37606 -0.041275,0.24765 -0.041275,0.62371 z"
id="path1714" />
</g>
<g
aria-label="U8R"
id="text326-3"
style="font-size:4.58611px;line-height:1.25;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700;fill:#e6e6e6;stroke-width:0.264583"
transform="translate(0,-0.52916667)">
<path
d="m 3.4037744,183.37462 q 0,0.33937 -0.1513416,0.61454 -0.1467555,0.27058 -0.4494388,0.43109 -0.2980972,0.15593 -0.7567082,0.15593 -0.6512276,0 -0.9905997,-0.3302 -0.3393722,-0.33479 -0.3393722,-0.88053 v -2.10961 h 0.6925026 v 2.00413 q 0,0.40357 0.1651,0.56867 0.1651,0.1651 0.4907138,0.1651 0.2293055,0 0.3714749,-0.078 0.1421694,-0.078 0.206375,-0.24306 0.068792,-0.1651 0.068792,-0.41734 v -1.99954 h 0.6925026 z"
id="path1717" />
<path
d="m 5.1052236,181.21456 q 0.2843388,0 0.5182305,0.0871 0.2384777,0.0871 0.3806471,0.26141 0.1467555,0.17427 0.1467555,0.44026 0,0.19721 -0.077964,0.34855 -0.077964,0.14675 -0.210961,0.25682 -0.1284111,0.11007 -0.2980972,0.19262 0.1742722,0.0917 0.3302,0.21554 0.1605138,0.11924 0.2568221,0.28434 0.1008944,0.16052 0.1008944,0.38065 0,0.27058 -0.1467555,0.47237 -0.1421694,0.20179 -0.4035777,0.31185 -0.2568221,0.11007 -0.5961943,0.11007 -0.3668888,0 -0.623711,-0.10548 -0.2568221,-0.10548 -0.3944054,-0.30268 -0.1329972,-0.19721 -0.1329972,-0.46779 0,-0.22472 0.08255,-0.38982 0.087136,-0.1651 0.2293055,-0.28433 0.1421694,-0.12383 0.3164416,-0.20638 -0.1467556,-0.0917 -0.2659944,-0.20637 -0.1192389,-0.11924 -0.1926167,-0.266 -0.068792,-0.15134 -0.068792,-0.34854 0,-0.26141 0.1467555,-0.43568 0.1467555,-0.17428 0.3852333,-0.26141 0.2430638,-0.0871 0.5182309,-0.0871 z m -0.5090582,2.4444 q 0,0.17886 0.123825,0.29351 0.128411,0.11465 0.376061,0.11465 0.2568222,0 0.3852332,-0.11006 0.1284111,-0.11007 0.1284111,-0.29352 0,-0.12382 -0.073378,-0.21554 -0.073378,-0.0963 -0.1834444,-0.16969 -0.1054806,-0.078 -0.2201333,-0.14217 l -0.05962,-0.0321 q -0.1421694,0.0642 -0.252236,0.14675 -0.1054805,0.0825 -0.1651,0.18345 -0.059619,0.0963 -0.059619,0.22472 z m 0.5044721,-1.93993 q -0.1696861,0 -0.2843388,0.0871 -0.1100667,0.0871 -0.1100667,0.24765 0,0.11007 0.055033,0.1972 0.055033,0.0825 0.1467555,0.14676 0.091722,0.0596 0.1972027,0.11465 0.1054805,-0.0504 0.1926166,-0.11007 0.091722,-0.0596 0.1467556,-0.14217 0.055033,-0.0871 0.055033,-0.20637 0,-0.16051 -0.1146528,-0.24765 -0.1100666,-0.0871 -0.2843381,-0.0871 z"
id="path1719" />
<path
d="m 7.7835141,181.25584 q 0.4448527,0 0.7337776,0.11006 0.2889249,0.10548 0.4310944,0.32562 0.1421694,0.21554 0.1421694,0.54574 0,0.22472 -0.087136,0.39441 -0.08255,0.1651 -0.2247194,0.28434 -0.1375833,0.11465 -0.2980972,0.18803 l 0.9630832,1.42628 H 8.6732195 L 7.8935807,183.27373 H 7.5221058 v 1.25659 H 6.8296032 v -3.27448 z m -0.050447,0.56867 H 7.5221058 v 0.88512 h 0.2247194 q 0.3439583,0 0.4907138,-0.11465 0.1513416,-0.11465 0.1513416,-0.33937 0,-0.15593 -0.073378,-0.24765 -0.068792,-0.0963 -0.2155472,-0.13758 -0.1421694,-0.0459 -0.3668888,-0.0459 z"
id="path1721" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Labels"
transform="translate(0,168.49998)">
<g
aria-label="IN"
id="text1770"
style="font-size:10.5833px;line-height:1.25;stroke-width:0.264583">
<path
d="M 4.1698342,26.202953 H 2.794002 V 25.838887 L 3.1623017,25.669554 V 23.713755 L 2.794002,23.544422 v -0.364066 h 1.3758322 v 0.364066 l -0.3682997,0.169333 v 1.955799 l 0.3682997,0.169333 z"
style="font-size:4.23333px;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700"
id="path1949" />
<path
d="M 7.3659979,26.202953 H 6.5531986 L 5.236633,23.916955 h -0.016933 q 0.00847,0.143933 0.0127,0.287867 0.00847,0.143933 0.0127,0.287866 0.00847,0.143933 0.0127,0.287867 v 1.422398 H 4.6863002 v -3.022597 h 0.8085659 l 1.3123323,2.264831 h 0.0127 q -0.00423,-0.1397 -0.00847,-0.279399 -0.00423,-0.1397 -0.0127,-0.275167 -0.00423,-0.1397 -0.00847,-0.2794 v -1.430865 h 0.5757328 z"
style="font-size:4.23333px;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700"
id="path1951" />
</g>
<rect
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke-width:5.48014"
id="rect1284-9"
width="10.16"
height="18.562365"
x="-8.5348395e-16"
y="98.826073"
ry="0"
inkscape:label="name_bg" />
<g
aria-label="OUT"
id="text1770-2"
style="font-size:4.23333px;line-height:1.25;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700;fill:#e6e6e6;stroke-width:0.264583">
<path
d="m 3.6131511,102.68183 q 0,0.35136 -0.0889,0.63923 -0.084667,0.28363 -0.2624665,0.49106 -0.1735665,0.20744 -0.4487329,0.3175 -0.2709332,0.11007 -0.6392328,0.11007 -0.3682997,0 -0.6434662,-0.11007 -0.2709331,-0.1143 -0.4487329,-0.3175 -0.17356654,-0.20743 -0.26246647,-0.4953 -0.0846666,-0.28786 -0.0846666,-0.63923 0,-0.4699 0.15239987,-0.81703 0.15663319,-0.34713 0.47413289,-0.53763 0.3217331,-0.19474 0.8170327,-0.19474 0.4910662,0 0.808566,0.19474 0.3174997,0.1905 0.4698996,0.54186 0.1566332,0.34714 0.1566332,0.81704 z m -2.2055648,0 q 0,0.31749 0.080433,0.54609 0.080433,0.2286 0.2497665,0.35137 0.1693332,0.12277 0.436033,0.12277 0.2751664,0 0.4402663,-0.12277 0.1693331,-0.12277 0.2455331,-0.35137 0.080433,-0.2286 0.080433,-0.54609 0,-0.47837 -0.1777998,-0.7493 -0.1777999,-0.27094 -0.5841995,-0.27094 -0.2709331,0 -0.4402663,0.12277 -0.1693332,0.12277 -0.2497665,0.35137 -0.080433,0.2286 -0.080433,0.5461 z"
id="path1942" />
<path
d="m 6.6992466,103.13056 q 0,0.31326 -0.1396999,0.56726 -0.1354666,0.24977 -0.4148663,0.39794 -0.2751665,0.14393 -0.6984995,0.14393 -0.6011328,0 -0.9143992,-0.3048 -0.3132664,-0.30903 -0.3132664,-0.8128 v -1.94733 h 0.6392328 v 1.84996 q 0,0.37254 0.1523999,0.52494 0.1523998,0.1524 0.4529663,0.1524 0.2116664,0 0.3428997,-0.072 0.1312332,-0.072 0.1904998,-0.22437 0.0635,-0.1524 0.0635,-0.38523 v -1.84573 h 0.6392328 z"
id="path1944" />
<path
d="M 8.604247,104.19736 H 7.9650142 v -2.4892 H 7.1437483 v -0.5334 H 9.425513 v 0.5334 H 8.604247 Z"
id="path1946" />
</g>
<g
aria-label="EWPRATTEN"
id="text2263"
style="font-size:1.5875px;line-height:1.25;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700;stroke-width:0.264583">
<path
d="M 1.1239496,6.8656096 H 0.47148709 V 5.7321347 H 1.1239496 v 0.19685 H 0.71119958 V 6.1782222 H 1.0953746 v 0.19685 H 0.71119958 V 6.6671721 H 1.1239496 Z"
id="path2296" />
<path
d="m 2.7527237,5.7321347 -0.288925,1.1334749 h -0.27305 L 2.0367612,6.2702972 q -0.00476,-0.017462 -0.0127,-0.052388 -0.00635,-0.034925 -0.015875,-0.0762 -0.00794,-0.041275 -0.014288,-0.077787 -0.00635,-0.0381 -0.00953,-0.058738 -0.00159,0.020638 -0.00953,0.058738 -0.00635,0.036512 -0.014288,0.077787 -0.00794,0.039688 -0.015875,0.0762 -0.00794,0.034925 -0.0127,0.053975 l -0.1524,0.5937249 h -0.27305 L 1.2176113,5.7321347 h 0.2365374 l 0.1444625,0.619125 q 0.00635,0.026987 0.014288,0.066675 0.00794,0.0381 0.015875,0.080963 0.00794,0.041275 0.014288,0.080963 0.00794,0.039687 0.011113,0.068262 0.00317,-0.030163 0.00953,-0.068262 0.00635,-0.039688 0.014288,-0.079375 0.00794,-0.041275 0.014288,-0.0762 0.00794,-0.036513 0.014287,-0.05715 l 0.1651,-0.635 h 0.2270125 l 0.1651,0.635 q 0.00476,0.020637 0.0127,0.05715 0.00794,0.034925 0.015875,0.0762 0.00794,0.041275 0.014288,0.080963 0.00635,0.0381 0.00953,0.066675 0.00476,-0.039688 0.014288,-0.093662 0.00953,-0.055562 0.020638,-0.111125 0.0127,-0.055563 0.020637,-0.092075 l 0.1444625,-0.619125 z"
id="path2298" />
<path
d="m 3.2575473,5.7321347 q 0.219075,0 0.3190875,0.09525 0.1015999,0.093663 0.1015999,0.2587625 0,0.074612 -0.022225,0.142875 -0.022225,0.066675 -0.074612,0.12065 -0.0508,0.052388 -0.1349375,0.08255 -0.084137,0.030163 -0.2079625,0.030163 H 3.1353098 V 6.8656096 H 2.8955973 V 5.7321347 Z m -0.0127,0.19685 H 3.1353098 v 0.33655 h 0.079375 q 0.068262,0 0.117475,-0.017462 0.049213,-0.017463 0.0762,-0.055563 0.026988,-0.0381 0.026988,-0.098425 0,-0.084137 -0.046038,-0.123825 -0.046037,-0.041275 -0.1444625,-0.041275 z"
id="path2300" />
<path
d="m 4.2227476,5.7321347 q 0.1539875,0 0.254,0.0381 0.1000125,0.036513 0.149225,0.1127125 0.049213,0.074612 0.049213,0.1889125 0,0.077788 -0.030163,0.136525 -0.028575,0.05715 -0.077787,0.098425 -0.047625,0.039688 -0.1031875,0.065088 l 0.333375,0.4937124 h -0.2667 L 4.2608476,6.4306347 H 4.1322601 V 6.8656096 H 3.8925476 V 5.7321347 Z m -0.017462,0.19685 h -0.073025 v 0.3063875 h 0.077788 q 0.1190625,0 0.1698625,-0.039687 0.052388,-0.039688 0.052388,-0.117475 0,-0.053975 -0.0254,-0.085725 -0.023813,-0.033338 -0.074612,-0.047625 -0.049213,-0.015875 -0.127,-0.015875 z"
id="path2302" />
<path
d="m 5.6340347,6.8656096 -0.08255,-0.269875 h -0.41275 l -0.08255,0.269875 H 4.7974222 l 0.40005,-1.1382374 h 0.2936875 l 0.4016375,1.1382374 z m -0.22225,-0.7350124 q -0.00794,-0.026988 -0.020638,-0.068263 -0.0127,-0.041275 -0.0254,-0.084137 -0.0127,-0.042863 -0.020638,-0.074613 -0.00794,0.03175 -0.022225,0.079375 -0.0127,0.046037 -0.0254,0.0889 -0.011113,0.041275 -0.017462,0.058738 l -0.080963,0.263525 h 0.295275 z"
id="path2304" />
<path
d="M 6.3611112,6.8656096 H 6.1213987 V 5.9321597 h -0.307975 v -0.200025 h 0.8556625 v 0.200025 h -0.307975 z"
id="path2306" />
<path
d="M 7.3120251,6.8656096 H 7.0723126 V 5.9321597 h -0.307975 v -0.200025 h 0.8556625 v 0.200025 h -0.307975 z"
id="path2308" />
<path
d="M 8.4470883,6.8656096 H 7.7946258 V 5.7321347 h 0.6524625 v 0.19685 h -0.41275 v 0.2492375 h 0.384175 v 0.19685 h -0.384175 v 0.2920999 h 0.41275 z"
id="path2310" />
<path
d="M 9.6885127,6.8656096 H 9.3837128 L 8.8900003,6.0083597 h -0.00635 q 0.00318,0.053975 0.00476,0.10795 0.00318,0.053975 0.00476,0.10795 0.00318,0.053975 0.00476,0.10795 V 6.8656096 H 8.6836253 V 5.7321347 h 0.3032125 l 0.492125,0.8493125 h 0.00476 q -0.00159,-0.052388 -0.00317,-0.104775 -0.00159,-0.052388 -0.00476,-0.1031875 -0.00159,-0.052388 -0.00318,-0.104775 v -0.536575 h 0.2158999 z"
id="path2312" />
</g>
<g
aria-label="0 1"
id="text2356"
style="font-size:10.5833px;line-height:1.25;stroke-width:0.264583">
<path
d="m 3.4037738,71.563847 q 0,0.394405 -0.064206,0.706261 -0.059619,0.311855 -0.1972028,0.531988 -0.1329971,0.215548 -0.3531304,0.3302 -0.2155472,0.114653 -0.5319888,0.114653 -0.3944055,0 -0.6466415,-0.201789 -0.2522361,-0.201789 -0.3760611,-0.57785 -0.1192388,-0.376061 -0.1192388,-0.903463 0,-0.531989 0.1100666,-0.90805 0.1100667,-0.376061 0.3623027,-0.57785 0.2522361,-0.201789 0.6695721,-0.201789 0.3944055,0 0.6466415,0.201789 0.2522361,0.197203 0.376061,0.57785 0.123825,0.376061 0.123825,0.90805 z m -1.6005524,0 q 0,0.371475 0.041275,0.623711 0.041275,0.24765 0.1375833,0.376061 0.1008944,0.123825 0.2751666,0.123825 0.1742722,0 0.2705805,-0.123825 0.1008944,-0.123825 0.1421694,-0.371475 0.045861,-0.252236 0.045861,-0.628297 0,-0.376061 -0.045861,-0.623711 -0.041275,-0.252236 -0.1421694,-0.376061 -0.096308,-0.128411 -0.2705805,-0.128411 -0.1742722,0 -0.2751666,0.128411 -0.096308,0.123825 -0.1375833,0.376061 -0.041275,0.24765 -0.041275,0.623711 z"
style="font-size:4.58611px;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700"
id="path2658" />
<path
d="M 9.044695,73.201088 H 8.3521923 v -1.894064 q 0,-0.07796 0,-0.192616 0.00459,-0.114653 0.00917,-0.238478 0.00459,-0.123825 0.00917,-0.220133 -0.022931,0.02752 -0.1008944,0.100894 -0.073378,0.06879 -0.1375833,0.123825 L 7.755998,71.1832 7.421212,70.765863 8.4760173,69.926605 H 9.044695 Z"
style="font-size:4.58611px;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700"
id="path2660" />
</g>
<g
aria-label="MUL"
id="text2356-8"
style="font-size:4.23333px;line-height:1.25;-inkscape-font-specification:'sans-serif, @wght=700';font-variation-settings:'wght' 700;stroke-width:0.264583">
<path
d="M 1.828796,57.962307 1.1006632,55.591642 h -0.016933 q 0.00423,0.08467 0.0127,0.254 0.00847,0.169333 0.016933,0.364066 0.00847,0.1905 0.00847,0.347133 v 1.405466 H 0.55033037 V 54.93971 H 1.4223963 l 0.7154327,2.311398 h 0.0127 L 2.908295,54.93971 h 0.872066 v 3.022597 H 3.1834615 v -1.430865 q 0,-0.143934 0.00423,-0.3302 0.00847,-0.186267 0.0127,-0.351367 0.00847,-0.169333 0.0127,-0.253999 h -0.016933 l -0.7789327,2.366431 z"
id="path2651" />
<path
d="m 7.0019282,56.895508 q 0,0.313266 -0.1396999,0.567266 -0.1354665,0.249767 -0.4148663,0.397933 -0.2751664,0.143933 -0.6984994,0.143933 -0.6011328,0 -0.9143992,-0.304799 Q 4.521197,57.390807 4.521197,56.887041 V 54.93971 h 0.6392328 v 1.849965 q 0,0.372533 0.1523998,0.524933 0.1523999,0.152399 0.4529663,0.152399 0.2116665,0 0.3428997,-0.07197 0.1312332,-0.07197 0.1904999,-0.224367 0.0635,-0.1524 0.0635,-0.385233 V 54.93971 h 0.6392328 z"
id="path2653" />
<path
d="M 7.7427628,57.962307 V 54.93971 h 0.6392328 v 2.493431 h 1.2276656 v 0.529166 z"
id="path2655" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="Arrows">
<rect
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke:none;stroke-width:2.11948;stroke-opacity:1"
id="rect2808"
width="1.2779158"
height="14.840041"
x="4.4410419"
y="204.54369" />
<path
sodipodi:type="star"
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke:none;stroke-width:7.9375;stroke-opacity:1"
id="path3140"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="-248.63914"
sodipodi:cy="106.72233"
sodipodi:r1="11.087515"
sodipodi:r2="5.5437579"
sodipodi:arg1="-0.52359878"
sodipodi:arg2="0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -239.03708,101.17857 -4.80103,8.31564 -4.80103,8.31563 -4.80104,-8.31563 -4.80103,-8.31564 9.60207,0 z"
transform="matrix(0.26458333,0,0,0.26458333,70.865773,191.22403)"
inkscape:transform-center-y="0.73339269" />
<rect
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke:none;stroke-width:2.11948;stroke-opacity:1"
id="rect2808-1"
width="1.2779158"
height="14.840041"
x="4.5050826"
y="245.40549" />
<path
sodipodi:type="star"
style="font-variation-settings:'wght' 700;fill:#272727;fill-opacity:1;stroke:none;stroke-width:7.9375;stroke-opacity:1"
id="path3140-2"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="-248.63914"
sodipodi:cy="106.72233"
sodipodi:r1="11.087515"
sodipodi:r2="5.5437579"
sodipodi:arg1="-0.52359878"
sodipodi:arg2="0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -239.03708,101.17857 -4.80103,8.31564 -4.80103,8.31563 -4.80104,-8.31563 -4.80103,-8.31564 9.60207,0 z"
transform="matrix(0.26458333,0,0,0.26458333,70.929814,232.08582)"
inkscape:transform-center-y="0.73339269" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="components">
<circle
inkscape:label="output"
r="4"
cy="110.49068"
cx="5.0799999"
id="circle66-6"
style="display:inline;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<ellipse
inkscape:label="input"
cy="31.101536"
cx="5.0799999"
id="circle66"
style="display:inline;opacity:1;vector-effect:none;fill:#00ff00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.840473;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
rx="3.2589731"
ry="3.4680629" />
<circle
inkscape:label="value"
r="4"
cy="64.25"
cx="5.0799999"
id="circle66-7"
style="display:inline;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1,100 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="30.48mm"
height="128.5mm"
viewBox="0 0 30.480002 128.50002"
version="1.1"
id="svg8"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
sodipodi:docname="module.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.4"
inkscape:cx="28.571429"
inkscape:cy="196.07143"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="mm"
inkscape:snap-bbox="true"
inkscape:snap-page="true"
inkscape:bbox-nodes="false"
inkscape:snap-bbox-edge-midpoints="false"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="0"
inkscape:window-y="268"
inkscape:window-maximized="1"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-nodes="false"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<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" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-168.49998)">
<rect
style="display:inline;opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.64935839;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="rect420"
width="30.48"
height="128.5"
x="5.9211732e-17"
y="168.49997" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="components">
<circle
inkscape:label="output"
r="4"
cy="110.49068"
cx="15.24"
id="circle66-6"
style="display:inline;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
inkscape:label="input"
r="4"
cy="25.80987"
cx="15.24"
id="circle66"
style="display:inline;opacity:1;vector-effect:none;fill:#00ff00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
inkscape:label="value"
r="4"
cy="64.25"
cx="15.24"
id="circle66-7"
style="display:inline;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -20,12 +20,13 @@ struct A10u8r_module : Module {
A10u8r_module() {
config(PARAMS_LEN, INPUTS_LEN, OUTPUTS_LEN, LIGHTS_LEN);
configParam(VALUE_PARAM, 0.f, 1.f, 0.f, "");
configInput(INPUT_INPUT, "");
configOutput(OUTPUT_OUTPUT, "");
configParam(VALUE_PARAM, 0.f, 1.f, 1.f, "Multiplier");
configInput(INPUT_INPUT, "Signal");
configOutput(OUTPUT_OUTPUT, "Signal");
}
void process(const ProcessArgs& args) override {
float value = params[VALUE_PARAM].getValue();
float input = inputs[INPUT_INPUT].getVoltage();
outputs[OUTPUT_OUTPUT].setVoltage(value * input);
@ -38,16 +39,16 @@ struct A10u8r_moduleWidget : ModuleWidget {
setModule(module);
setPanel(createPanel(asset::plugin(pluginInstance, "res/a10u8r_module.svg")));
// Set the screw positions
addChild(createWidget<ScrewSilver>(Vec(0, 0)));
addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, 0)));
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0)));
addChild(createWidget<ScrewSilver>(Vec(0, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
addParam(createParamCentered<RoundBlackKnob>(mm2px(Vec(15.24, 64.25)), module, A10u8r_module::VALUE_PARAM));
addInput(createInputCentered<PJ301MPort>(mm2px(Vec(15.24, 25.81)), module, A10u8r_module::INPUT_INPUT));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(15.24, 110.491)), module, A10u8r_module::OUTPUT_OUTPUT));
// Configure I/O
addParam(createParamCentered<RoundBlackKnob>(mm2px(Vec(5.08, 64.25)), module, A10u8r_module::VALUE_PARAM));
addInput(createInputCentered<PJ301MPort>(mm2px(Vec(5.08, 31.102)), module, A10u8r_module::INPUT_INPUT));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(5.08, 110.491)), module, A10u8r_module::OUTPUT_OUTPUT));
}
};