diff --git a/plates/openscad_wip/cheapino.scad b/case/cheapino.scad similarity index 77% rename from plates/openscad_wip/cheapino.scad rename to case/cheapino.scad index 2f93cd4..85a32e4 100644 --- a/plates/openscad_wip/cheapino.scad +++ b/case/cheapino.scad @@ -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); -} -*/ \ No newline at end of file diff --git a/case/holes.scad b/case/holes.scad new file mode 100644 index 0000000..fd79475 --- /dev/null +++ b/case/holes.scad @@ -0,0 +1,14 @@ + +$fn=100; + +height_translation = 0; + + +module holes() +{ + import ("holes.svg", center=false); +} + + +linear_extrude(1.6) holes(); + diff --git a/case/holes.svg b/case/holes.svg new file mode 100644 index 0000000..f1d7d8a --- /dev/null +++ b/case/holes.svg @@ -0,0 +1,425 @@ + + + + + SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 + Image generated by PCBNEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 + + + + diff --git a/case/plate.scad b/case/plate.scad new file mode 100644 index 0000000..779e515 --- /dev/null +++ b/case/plate.scad @@ -0,0 +1,13 @@ + +$fn=100; + +height_translation = 0; + + +module plate() +{ + import ("plate.svg", center=false); +} + +linear_extrude(1.6) + plate(); \ No newline at end of file diff --git a/case/plate.svg b/case/plate.svg new file mode 100644 index 0000000..28457a8 --- /dev/null +++ b/case/plate.svg @@ -0,0 +1,54 @@ + + + + + + + + + + diff --git a/case/plate_and_holes.svg b/case/plate_and_holes.svg new file mode 100644 index 0000000..048ba58 --- /dev/null +++ b/case/plate_and_holes.svg @@ -0,0 +1,253 @@ + +SVG Image created as cheapino-brd.svg date 2024/04/29 21:49:12 + Image generated by PCBNEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plates/openscad_wip/readme.md b/case/readme.md similarity index 65% rename from plates/openscad_wip/readme.md rename to case/readme.md index 4526be6..45e30b3 100644 --- a/plates/openscad_wip/readme.md +++ b/case/readme.md @@ -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 diff --git a/plates/openscad_wip/base.svg b/plates/openscad_wip/base.svg deleted file mode 100644 index 716cfe2..0000000 --- a/plates/openscad_wip/base.svg +++ /dev/null @@ -1,161 +0,0 @@ - - - - - SVG Image created as cheapino-brd.svg date 2023/12/24 12:32:01 - Image generated by PCBNEW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -