Case v2 wip

This commit is contained in:
Thomas Haukland
2024-05-01 10:04:02 +02:00
parent 44ac351581
commit e35f9a97bb
8 changed files with 764 additions and 179 deletions

View File

@@ -1,6 +1,6 @@
height = 95.1738;
width = 132.6134;
$fn=30;
$fn=60;
height_translation = 0;
@@ -15,7 +15,7 @@ for (i = [0:0.05:2.5])
translate([0,0,2.5]) //height_translation])
base_line_extruded(2.5, 1.6);
for (i = [4.1b:0.05:6.6])
for (i = [4.1:0.05:6.6])
{
translate([0,0,i]) //height_translation])
base_line_extruded(6.6-i, 1);
@@ -37,7 +37,7 @@ module base_extended (factor, extrusion)
module base()
{
import ("base.svg", center=true);
import ("plate.svg", center=true);
}
@@ -52,16 +52,3 @@ module base_line(expanded)
}
}
/*
module base_extended(factor, extrusion)
{
linear_extrude(extrusion)
offset([factor, factor, 1])
base();
}
module base()
{
import("base.svg", center=false);
}
*/

14
case/holes.scad Normal file
View File

@@ -0,0 +1,14 @@
$fn=100;
height_translation = 0;
module holes()
{
import ("holes.svg", center=false);
}
linear_extrude(1.6) holes();

425
case/holes.svg Normal file
View File

@@ -0,0 +1,425 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="132.6134mm"
height="95.1738mm"
viewBox="0.0000 0.0000 132.6134 95.1738"
id="svg332"
sodipodi:docname="holes.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
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="defs336" />
<sodipodi:namedview
id="namedview334"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="5.2486435"
inkscape:cx="304.36436"
inkscape:cy="129.65255"
inkscape:window-width="1325"
inkscape:window-height="815"
inkscape:window-x="1998"
inkscape:window-y="31"
inkscape:window-maximized="0"
inkscape:current-layer="svg332" />
<title
id="title2">SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 </title>
<desc
id="desc4">Image generated by PCBNEW </desc>
<g
style="fill:#000000; fill-opacity:1.0000;stroke:#000000; stroke-opacity:1.0000; stroke-linecap:round; stroke-linejoin:round;"
transform="translate(0 0) scale(1 1)"
id="g6" />
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g12">
<path
d="M20.4646 7.1086 L35.4646 7.1086 "
id="path8" />
<path
d="M20.4646 22.1086 L20.4646 7.1086 "
id="path10" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g18">
<path
d="M35.4646 7.1086 L35.4646 22.1086 "
id="path14" />
<path
d="M35.4646 22.1086 L20.4646 22.1086 "
id="path16" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g24">
<path
d="M1.4654 17.1162 L16.4654 17.1162 "
id="path20" />
<path
d="M1.4654 32.1162 L1.4654 17.1162 "
id="path22" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g30">
<path
d="M16.4654 17.1162 L16.4654 32.1162 "
id="path26" />
<path
d="M16.4654 32.1162 L1.4654 32.1162 "
id="path28" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g36">
<path
d="M77.4622 47.6470 L92.4622 47.6470 "
id="path32" />
<path
d="M77.4622 62.6470 L77.4622 47.6470 "
id="path34" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g42">
<path
d="M92.4622 47.6470 L92.4622 62.6470 "
id="path38" />
<path
d="M92.4622 62.6470 L77.4622 62.6470 "
id="path40" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g48" />
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g54">
<path
id="path52"
d="m 92.4622,24.6486 h -15 m 15,-15 v 15 m -15,0 v -15 m 0,0 h 15" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g60">
<path
d="M39.4638 19.7578 L54.4638 19.7578 "
id="path56" />
<path
d="M39.4638 34.7578 L39.4638 19.7578 "
id="path58" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g66">
<path
d="M54.4638 19.7578 L54.4638 34.7578 "
id="path62" />
<path
d="M54.4638 34.7578 L39.4638 34.7578 "
id="path64" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g72">
<path
d="M20.4646 45.1070 L35.4646 45.1070 "
id="path68" />
<path
d="M20.4646 60.1070 L20.4646 45.1070 "
id="path70" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g78">
<path
d="M35.4646 45.1070 L35.4646 60.1070 "
id="path74" />
<path
d="M35.4646 60.1070 L20.4646 60.1070 "
id="path76" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g84">
<path
d="M20.4646 26.1078 L35.4646 26.1078 "
id="path80" />
<path
d="M20.4646 41.1078 L20.4646 26.1078 "
id="path82" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g90">
<path
d="M35.4646 26.1078 L35.4646 41.1078 "
id="path86" />
<path
d="M35.4646 41.1078 L20.4646 41.1078 "
id="path88" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g96">
<path
d="M1.4654 36.1154 L16.4654 36.1154 "
id="path92" />
<path
d="M1.4654 51.1154 L1.4654 36.1154 "
id="path94" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g102">
<path
d="M16.4654 36.1154 L16.4654 51.1154 "
id="path98" />
<path
d="M16.4654 51.1154 L1.4654 51.1154 "
id="path100" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g108">
<path
d="M58.4630 26.1078 L73.4630 26.1078 "
id="path104" />
<path
d="M58.4630 41.1078 L58.4630 26.1078 "
id="path106" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g114">
<path
d="M73.4630 26.1078 L73.4630 41.1078 "
id="path110" />
<path
d="M73.4630 41.1078 L58.4630 41.1078 "
id="path112" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g120">
<path
d="M58.4630 7.1086 L73.4630 7.1086 "
id="path116" />
<path
d="M58.4630 22.1086 L58.4630 7.1086 "
id="path118" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g126">
<path
d="M73.4630 7.1086 L73.4630 22.1086 "
id="path122" />
<path
d="M73.4630 22.1086 L58.4630 22.1086 "
id="path124" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g132">
<path
d="M1.4654 55.1146 L16.4654 55.1146 "
id="path128" />
<path
d="M1.4654 70.1146 L1.4654 55.1146 "
id="path130" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g138">
<path
d="M16.4654 55.1146 L16.4654 70.1146 "
id="path134" />
<path
d="M16.4654 70.1146 L1.4654 70.1146 "
id="path136" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g142">
<path
d="M92.5542 84.1923 L95.1589 69.4202 "
id="path140" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g146">
<path
d="M95.1589 69.4202 L109.9311 72.0249 "
id="path144" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g150">
<path
d="M107.3263 86.7970 L92.5542 84.1923 "
id="path148" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g154">
<path
d="M109.9311 72.0249 L107.3263 86.7970 "
id="path152" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g160">
<path
d="M72.7886 69.3386 L87.7886 69.3386 "
id="path156" />
<path
d="M72.7886 84.3386 L72.7886 69.3386 "
id="path158" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g166">
<path
d="M87.7886 69.3386 L87.7886 84.3386 "
id="path162" />
<path
d="M87.7886 84.3386 L72.7886 84.3386 "
id="path164" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g172">
<path
d="M77.4622 28.6478 L92.4622 28.6478 "
id="path168" />
<path
d="M77.4622 43.6478 L77.4622 28.6478 "
id="path170" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g178">
<path
d="M92.4622 28.6478 L92.4622 43.6478 "
id="path174" />
<path
d="M92.4622 43.6478 L77.4622 43.6478 "
id="path176" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g184">
<path
d="M39.4638 0.7586 L54.4638 0.7586 "
id="path180" />
<path
d="M39.4638 15.7586 L39.4638 0.7586 "
id="path182" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g190">
<path
d="M54.4638 0.7586 L54.4638 15.7586 "
id="path186" />
<path
d="M54.4638 15.7586 L39.4638 15.7586 "
id="path188" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g194">
<path
d="M111.7293 87.7976 L117.5903 73.9901 "
id="path192" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g198">
<path
d="M117.5903 73.9901 L131.3979 79.8510 "
id="path196" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g202">
<path
d="M125.5369 93.6586 L111.7293 87.7976 "
id="path200" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g206">
<path
d="M131.3979 79.8510 L125.5369 93.6586 "
id="path204" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g212">
<path
d="M39.4638 38.7570 L54.4638 38.7570 "
id="path208" />
<path
d="M39.4638 53.7570 L39.4638 38.7570 "
id="path210" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g218">
<path
d="M54.4638 38.7570 L54.4638 53.7570 "
id="path214" />
<path
d="M54.4638 53.7570 L39.4638 53.7570 "
id="path216" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g224">
<path
d="M58.4630 45.1070 L73.4630 45.1070 "
id="path220" />
<path
d="M58.4630 60.1070 L58.4630 45.1070 "
id="path222" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g230">
<path
d="M73.4630 45.1070 L73.4630 60.1070 "
id="path226" />
<path
d="M73.4630 60.1070 L58.4630 60.1070 "
id="path228" />
</g>
<g
style="fill:none; stroke:#000000; stroke-width:0.1000; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g330" />
<metadata
id="metadata871">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 </dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

13
case/plate.scad Normal file
View File

@@ -0,0 +1,13 @@
$fn=100;
height_translation = 0;
module plate()
{
import ("plate.svg", center=false);
}
linear_extrude(1.6)
plate();

54
case/plate.svg Normal file
View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="132.6134mm"
height="95.1738mm"
version="1.1"
id="svg4"
sodipodi:docname="plate.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
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">
<defs
id="defs8">
<linearGradient
id="linearGradient982"
inkscape:swatch="solid">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop980" />
</linearGradient>
</defs>
<sodipodi:namedview
id="namedview6"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="32"
inkscape:cx="121.64062"
inkscape:cy="85.34375"
inkscape:window-width="1803"
inkscape:window-height="956"
inkscape:window-x="1814"
inkscape:window-y="332"
inkscape:window-maximized="0"
inkscape:current-layer="svg4" />
<path
d="m 130.264,78.079 -11.431,-5.154 c -1.9928,-0.654893 -3.3332,-2.523427 -3.315,-4.621 l -0.167,-29.511 c -0.0358,-0.461775 0.37696,-0.83138 0.832,-0.745 0.50168,0.135922 0.98847,-0.261248 0.956,-0.7795 L 116.976,15.546 c 0.38071,-2.200837 -1.42017,-4.168164 -3.646,-3.983 L 95.359,11.6 C 94.260004,11.619564 93.37521,10.702597 93.434,9.605 93.434553,8.8954759 92.859524,8.3199998 92.15,8.3205 L 75.5215,8.1805 C 74.938362,8.1156546 74.444114,7.7235176 74.248,7.171 74.164498,6.7152248 73.767361,6.3841368 73.3035,6.384 L 57.613,6.21 C 56.861432,6.2415495 56.22761,5.6557232 56.2,4.9035 L 56.167,1.473 C 56.205669,0.74677698 55.664954,0.11917757 54.9405,0.05 L 39.75,0.08 C 39.062919,0.05125192 38.483061,0.58585056 38.4555,1.273 L 38.455,4.83 C 38.344922,5.5501965 37.738105,6.0902426 37.01,6.116 L 20.382,6.253 c -0.494586,0.05447 -0.882516,0.449507 -0.928,0.945 l -0.0705,6.242 c -5e-4,1.334872 -1.082628,2.417 -2.4175,2.417 L 4.165,15.459 C 2.0130545,15.45889 0.22203052,17.111942 0.05,19.257 l 10e-4,50.568 c -0.02976534,1.240801 0.9678422,2.262795 2.209,2.263 l 14.935,0.024 c 1.064805,0 1.928,-0.863195 1.928,-1.928 l 0.113,-6.693 c -0.0018,-1.141513 0.819936,-2.117905 1.945,-2.311 l 13.5905,0.085 c 1.063584,-2.93e-4 1.967783,-0.775443 2.1305,-1.826 l 0.024,-1.813 c 0.04974,-1.047066 0.975767,-1.833063 2.017,-1.712 l 16.108,-0.196 c 1.178174,-0.104201 2.164201,0.881826 2.06,2.06 l -0.167,2.446 c 0.01261,1.282966 1.055972,2.316514 2.339,2.317 l 8.392,0.093 c 1.638955,-0.04804 3.037561,1.176119 3.207,2.807 l 0.788,18.7895 c 0.07595,0.853852 0.688974,1.564284 1.523,1.7645 17.426081,-1.606599 34.96521,1.466468 50.807,8.902 1.41252,0.62091 3.05803,-0.05719 3.6235,-1.493 l 4.5605,-10.527 c 0.99,-1.848484 0.0719,-4.142773 -1.92,-4.798 z"
fill="none"
stroke="#000000"
stroke-width="0.1"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccc"
style="fill:none;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

253
case/plate_and_holes.svg Normal file
View File

@@ -0,0 +1,253 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="132.6134mm" height="95.1738mm" viewBox="0.0000 0.0000 132.6134 95.1738">
<title>SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 </title>
<desc>Image generated by PCBNEW </desc>
<g style="fill:#000000; fill-opacity:1.0000;stroke:#000000; stroke-opacity:1.0000; stroke-linecap:round; stroke-linejoin:round;" transform="translate(0 0) scale(1 1)">
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M20.4646 7.1086 L35.4646 7.1086 "/>
<path d="M20.4646 22.1086 L20.4646 7.1086 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M35.4646 7.1086 L35.4646 22.1086 "/>
<path d="M35.4646 22.1086 L20.4646 22.1086 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M1.4654 17.1162 L16.4654 17.1162 "/>
<path d="M1.4654 32.1162 L1.4654 17.1162 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M16.4654 17.1162 L16.4654 32.1162 "/>
<path d="M16.4654 32.1162 L1.4654 32.1162 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M77.4622 47.6470 L92.4622 47.6470 "/>
<path d="M77.4622 62.6470 L77.4622 47.6470 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M92.4622 47.6470 L92.4622 62.6470 "/>
<path d="M92.4622 62.6470 L77.4622 62.6470 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M77.4622 9.6486 L92.4622 9.6486 "/>
<path d="M77.4622 24.6486 L77.4622 9.6486 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M92.4622 9.6486 L92.4622 24.6486 "/>
<path d="M92.4622 24.6486 L77.4622 24.6486 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M39.4638 19.7578 L54.4638 19.7578 "/>
<path d="M39.4638 34.7578 L39.4638 19.7578 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M54.4638 19.7578 L54.4638 34.7578 "/>
<path d="M54.4638 34.7578 L39.4638 34.7578 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M20.4646 45.1070 L35.4646 45.1070 "/>
<path d="M20.4646 60.1070 L20.4646 45.1070 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M35.4646 45.1070 L35.4646 60.1070 "/>
<path d="M35.4646 60.1070 L20.4646 60.1070 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M20.4646 26.1078 L35.4646 26.1078 "/>
<path d="M20.4646 41.1078 L20.4646 26.1078 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M35.4646 26.1078 L35.4646 41.1078 "/>
<path d="M35.4646 41.1078 L20.4646 41.1078 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M1.4654 36.1154 L16.4654 36.1154 "/>
<path d="M1.4654 51.1154 L1.4654 36.1154 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M16.4654 36.1154 L16.4654 51.1154 "/>
<path d="M16.4654 51.1154 L1.4654 51.1154 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M58.4630 26.1078 L73.4630 26.1078 "/>
<path d="M58.4630 41.1078 L58.4630 26.1078 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M73.4630 26.1078 L73.4630 41.1078 "/>
<path d="M73.4630 41.1078 L58.4630 41.1078 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M58.4630 7.1086 L73.4630 7.1086 "/>
<path d="M58.4630 22.1086 L58.4630 7.1086 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M73.4630 7.1086 L73.4630 22.1086 "/>
<path d="M73.4630 22.1086 L58.4630 22.1086 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M1.4654 55.1146 L16.4654 55.1146 "/>
<path d="M1.4654 70.1146 L1.4654 55.1146 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M16.4654 55.1146 L16.4654 70.1146 "/>
<path d="M16.4654 70.1146 L1.4654 70.1146 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M92.5542 84.1923 L95.1589 69.4202 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M95.1589 69.4202 L109.9311 72.0249 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M107.3263 86.7970 L92.5542 84.1923 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M109.9311 72.0249 L107.3263 86.7970 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M72.7886 69.3386 L87.7886 69.3386 "/>
<path d="M72.7886 84.3386 L72.7886 69.3386 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M87.7886 69.3386 L87.7886 84.3386 "/>
<path d="M87.7886 84.3386 L72.7886 84.3386 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M77.4622 28.6478 L92.4622 28.6478 "/>
<path d="M77.4622 43.6478 L77.4622 28.6478 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M92.4622 28.6478 L92.4622 43.6478 "/>
<path d="M92.4622 43.6478 L77.4622 43.6478 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M39.4638 0.7586 L54.4638 0.7586 "/>
<path d="M39.4638 15.7586 L39.4638 0.7586 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M54.4638 0.7586 L54.4638 15.7586 "/>
<path d="M54.4638 15.7586 L39.4638 15.7586 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M111.7293 87.7976 L117.5903 73.9901 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M117.5903 73.9901 L131.3979 79.8510 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M125.5369 93.6586 L111.7293 87.7976 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M131.3979 79.8510 L125.5369 93.6586 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M39.4638 38.7570 L54.4638 38.7570 "/>
<path d="M39.4638 53.7570 L39.4638 38.7570 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M54.4638 38.7570 L54.4638 53.7570 "/>
<path d="M54.4638 53.7570 L39.4638 53.7570 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M58.4630 45.1070 L73.4630 45.1070 "/>
<path d="M58.4630 60.1070 L58.4630 45.1070 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1500; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M73.4630 45.1070 L73.4630 60.1070 "/>
<path d="M73.4630 60.1070 L58.4630 60.1070 "/>
</g>
<g style="fill:none; stroke:#000000; stroke-width:0.1000; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;">
<path d="M19.4541 7.1977 L19.3831 13.4402 "/>
<path d="M116.1833 38.0485 A0.7588 0.7588 0.0 0 0 117.1393 37.2689"/>
<path d="M71.6697 84.2303 A1.9974 1.9974 0.0 0 0 73.1933 85.9946"/>
<path d="M67.6747 62.6337 L59.2828 62.5408 "/>
<path d="M20.3822 6.2525 A1.0473 1.0473 0.0 0 0 19.4541 7.1977"/>
<path d="M56.1672 1.4728 L56.1998 4.9037 "/>
<path d="M132.1837 82.8767 A3.3744 3.3744 0.0 0 0 130.2644 78.0786"/>
<path d="M39.7502 0.0798 L54.9407 0.0500 "/>
<path d="M115.5184 68.3042 A4.8202 4.8202 0.0 0 0 118.8332 72.9250"/>
<path d="M39.7502 0.0798 A1.2427 1.2427 0.0 0 0 38.4557 1.2734"/>
<path d="M34.7718 61.2653 A2.1559 2.1559 0.0 0 0 36.9023 59.4391"/>
<path d="M16.9664 15.8569 A2.4167 2.4167 0.0 0 0 19.3831 13.4402"/>
<path d="M116.9762 15.5458 L117.1393 37.2689 "/>
<path d="M118.8332 72.9250 L130.2644 78.0786 "/>
<path d="M21.1814 61.1797 L34.7718 61.2653 "/>
<path d="M4.1648 15.4590 A4.1280 4.1280 0.0 0 0 0.0500 19.2568"/>
<path d="M38.4548 4.8296 L38.4557 1.2734 "/>
<path d="M0.0514 69.8252 L0.0500 19.2568 "/>
<path d="M116.9762 15.5458 A3.4127 3.4127 0.0 0 0 113.3300 11.5633"/>
<path d="M2.2598 72.0881 L17.1950 72.1116 "/>
<path d="M93.4340 9.6048 A1.8941 1.8941 0.0 0 0 95.3590 11.6002"/>
<path d="M115.3514 38.7931 L115.5184 68.3042 "/>
<path d="M75.5215 8.1805 L92.1504 8.3212 "/>
<path d="M0.0514 69.8252 A2.2091 2.2091 0.0 0 0 2.2598 72.0881"/>
<path d="M56.9437 60.2243 A2.3392 2.3392 0.0 0 0 59.2828 62.5408"/>
<path d="M19.2358 63.4912 L19.1228 70.1838 "/>
<path d="M56.1672 1.4728 A1.3567 1.3567 0.0 0 0 54.9407 0.0500"/>
<path d="M132.1837 82.8767 L127.6231 93.4043 "/>
<path d="M57.1114 57.7783 L56.9437 60.2243 "/>
<path d="M17.1950 72.1116 A1.9278 1.9278 0.0 0 0 19.1228 70.1838"/>
<path d="M57.6133 6.2105 L73.3036 6.3840 "/>
<path d="M21.1814 61.1797 A2.3412 2.3412 0.0 0 0 19.2358 63.4912"/>
<path d="M4.1648 15.4590 L16.9664 15.8569 "/>
<path d="M37.0106 6.1160 L20.3822 6.2525 "/>
<path d="M124.0008 94.8970 A2.7178 2.7178 0.0 0 0 127.6231 93.4043"/>
<path d="M93.4340 9.6048 A1.2836 1.2836 0.0 0 0 92.1504 8.3212"/>
<path d="M37.0106 6.1160 A1.5159 1.5159 0.0 0 0 38.4548 4.8296"/>
<path d="M56.1998 4.9037 A1.3567 1.3567 0.0 0 0 57.6133 6.2105"/>
<path d="M74.2480 7.1711 A0.9602 0.9602 0.0 0 0 73.3036 6.3840"/>
<path d="M36.9256 57.6257 L36.9023 59.4391 "/>
<path d="M70.8815 65.4413 A3.1318 3.1318 0.0 0 0 67.6747 62.6337"/>
<path d="M70.8816 65.4413 L71.6697 84.2303 "/>
<path d="M55.0514 55.7182 L38.9425 55.9137 "/>
<path d="M57.1114 57.7783 A1.9000 1.9000 0.0 0 0 55.0514 55.7182"/>
<path d="M95.3590 11.6002 L113.3300 11.5633 "/>
<path d="M116.1833 38.0485 A0.7025 0.7025 0.0 0 0 115.3514 38.7931"/>
<path d="M38.9425 55.9137 A1.8107 1.8107 0.0 0 0 36.9256 57.6257"/>
<path d="M74.2480 7.1711 A1.5315 1.5315 0.0 0 0 75.5215 8.1805"/>
<path d="M124.0008 94.8970 A98.3312 98.3312 0.0 0 0 73.1933 85.9946"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -3,6 +3,6 @@ Steps
1. Export board outline from kicad
2. Open in inkscape, select all and combine
3. For every point: mark(there will be 2) and select "join points": shft+L
4. Import and extrude(1.6) in openscad
3. For every point: mark(there will be 2) and select "join points": shft+L(shft L
4. Import and extrude(1.6 for bottom, 1.5 for top) in openscad

View File

@@ -1,161 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="132.6134mm"
height="95.1738mm"
viewBox="0.0000 0.0000 132.6134 95.1738"
id="svg512"
sodipodi:docname="cheapino-brd-ink.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
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">
<defs
id="defs516" />
<sodipodi:namedview
id="namedview514"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="11.313709"
inkscape:cx="449.67572"
inkscape:cy="142.65879"
inkscape:window-width="1761"
inkscape:window-height="1076"
inkscape:window-x="1729"
inkscape:window-y="17"
inkscape:window-maximized="0"
inkscape:current-layer="g510" />
<title
id="title298">SVG Image created as cheapino-brd.svg date 2023/12/24 12:32:01 </title>
<desc
id="desc300">Image generated by PCBNEW </desc>
<g
style="fill:#000000; fill-opacity:1.0000;stroke:#000000; stroke-opacity:1.0000; stroke-linecap:round; stroke-linejoin:round;"
transform="translate(0 0) scale(1 1)"
id="g302" />
<g
style="fill:#000000; fill-opacity:0.0; stroke:#000000; stroke-width:0.0000; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g304" />
<g
style="fill:#000000; fill-opacity:0.0; stroke:#000000; stroke-width:0.1000; stroke-opacity:1; stroke-linecap:round; stroke-linejoin:round;"
id="g510">
<path
id="path402"
d="m 116.9762,15.5458 c 0.38063,-2.200816 -1.42043,-4.167989 -3.6462,-3.9825 L 98.595716,11.5936 95.359,11.6002 c -1.099137,0.01952 -1.98397,-0.897672 -1.925,-1.9954 0,-0.7089127 -0.574687,-1.2836 -1.2836,-1.2836 L 75.5215,8.1805 C 74.938775,8.1155531 74.444277,7.7236048 74.248,7.1711 74.16444,6.7151799 73.767114,6.384033 73.3036,6.384 L 57.6133,6.2105 C 56.861176,6.2425018 56.22681,5.6560199 56.1998,4.9037 L 56.1672,1.4728 C 56.205899,0.74642252 55.664849,0.11877782 54.9407,0.05 L 39.7502,0.0798 C 39.06264,0.05060116 38.48227,0.58573332 38.4557,1.2734 l -9e-4,3.5562 C 38.344991,5.5496881 37.738544,6.089872 37.0106,6.116 L 20.3822,6.2525 c -0.494639,0.054554 -0.88259,0.4496479 -0.9281,0.9452 l -0.071,6.2425 c 0,1.334707 -1.081993,2.4167 -2.4167,2.4167 L 4.1648,15.459 C 2.0130023,15.458986 0.22212296,17.111897 0.05,19.2568 l 0.0014,50.5684 c -0.03022552,1.240732 0.9672997,2.262875 2.2084,2.2629 l 14.9352,0.0235 c 1.064695,0 1.9278,-0.863105 1.9278,-1.9278 l 0.113,-6.6926 c -0.0019,-1.141863 0.820155,-2.118557 1.9456,-2.3115 l 13.5904,0.0856 c 1.063354,-2e-5 1.967882,-0.775354 2.1305,-1.8262 l 0.0233,-1.8134 c 0.05017,-1.046813 0.975842,-1.832548 2.0169,-1.712 l 16.1089,-0.1955 c 1.178218,-0.10421 2.164268,0.881887 2.06,2.0601 l -0.1677,2.446 c 0.01245,1.282992 1.056048,2.316506 2.3391,2.3165 l 8.3919,0.0929 c 1.639123,-0.04801 3.03775,1.176511 3.20685,2.8076 l 0.78815,18.789 c 0.07643,0.854206 0.689633,1.564278 1.5236,1.7643 17.426282,-1.606555 34.96559,1.466652 50.8075,8.9024 1.41225,0.620583 3.05729,-0.05731 3.6223,-1.4927 l 4.5606,-10.5276 c 0.9898,-1.848316 0.0722,-4.142326 -1.9193,-4.7981 L 118.8332,72.925 c -1.99261,-0.654995 -3.3329,-2.523375 -3.3148,-4.6208 l -0.167,-29.5111 c -0.0359,-0.461744 0.37695,-0.83131 0.8319,-0.7446 0.50155,0.136066 0.98837,-0.260927 0.956,-0.7796 z"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccc" />
<g
id="g404" />
<g
id="g406" />
<g
id="g408" />
<g
id="g410" />
<g
id="g412" />
<g
id="g414" />
<g
id="g416" />
<g
id="g418" />
<g
id="g420" />
<g
id="g422" />
<g
id="g424" />
<g
id="g426" />
<g
id="g428" />
<g
id="g430" />
<g
id="g432" />
<g
id="g434" />
<g
id="g436" />
<g
id="g438" />
<g
id="g440" />
<g
id="g442" />
<g
id="g444" />
<g
id="g446" />
<g
id="g448" />
<g
id="g450" />
<g
id="g452" />
<g
id="g454" />
<g
id="g456" />
<g
id="g458" />
<g
id="g460" />
<g
id="g462" />
<g
id="g464" />
<g
id="g466" />
<g
id="g468" />
<g
id="g470" />
<g
id="g472" />
<g
id="g474" />
<g
id="g476" />
<g
id="g478" />
<g
id="g480" />
<g
id="g482" />
<g
id="g484" />
<g
id="g486" />
<g
id="g488" />
<g
id="g490" />
<g
id="g492" />
<g
id="g494" />
<g
id="g496" />
<g
id="g498" />
<g
id="g500" />
<g
id="g502" />
<g
id="g504" />
<g
id="g506" />
<g
id="g508" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.1 KiB