From 3e03aa02b2c218eafd583842c2af4eda09c3c2ec Mon Sep 17 00:00:00 2001 From: Thomas Haukland Date: Tue, 24 Sep 2024 19:10:22 +0200 Subject: [PATCH] Expanded diode cutouts and recentered Also explained which openscad version to use --- case/cheapino-top-right.scad | 3 +-- case/modules.scad | 46 ++++++++++++++++++------------------ case/readme.md | 16 +++++++++++-- pcb/cheapino.kicad_pro | 4 +++- 4 files changed, 41 insertions(+), 28 deletions(-) diff --git a/case/cheapino-top-right.scad b/case/cheapino-top-right.scad index cc863e3..1508715 100644 --- a/case/cheapino-top-right.scad +++ b/case/cheapino-top-right.scad @@ -16,7 +16,7 @@ mirror() { linear_extrude(4.1) offset(delta=0.45) base(); // holes and shape for debug - // translate([0,0,4.1]) + //translate([0,0,4.1]) // board(); translate([0,0,top_of_pcb]) switch_holes(); @@ -54,7 +54,6 @@ mirror() { mounting_hole_inserts(); - } } diff --git a/case/modules.scad b/case/modules.scad index 8f65842..4901b1f 100644 --- a/case/modules.scad +++ b/case/modules.scad @@ -101,8 +101,8 @@ module switch(bottom) { module diode() { color("#8c564b") -linear_extrude(height=1.65) -square([9.5, 1.8]); +linear_extrude(height=1.85) +square([9.9, 2]); } module rdiode() { @@ -228,30 +228,30 @@ module switches(bottom) { module diodes() { // The horizontal diodes - translate([-18, 10.21, 0]) diode(); - translate([-28.59, 10.21, 0]) diode(); - translate([-26.23, 29.18, 0]) diode(); - translate([-9.463,21.97,0]) diode(); - translate([0.8, 21.97, 0]) diode(); - translate([14.106, 19.872, 0]) diode(); - translate([16.138,1.066,0]) diode(); - translate([5.888,-19.128,0]) diode(); - translate([-5.018, 2.971, 0]) diode(); - translate([-37.267,3.555,0]) diode(); - translate([-47.627,3.555,0]) diode(); - translate([-61.234,12.013,0]) diode(); - translate([-61.6,-7.011,0]) diode(); - translate([-47.616,22.504,0]) diode(); + translate([-18.2, 10.01, 0]) diode(); + translate([-28.79, 10.01, 0]) diode(); + translate([-26.43, 28.98, 0]) diode(); + translate([-9.663,21.77,0]) diode(); + translate([0.8, 21.77, 0]) diode(); + translate([13.906, 19.672, 0]) diode(); + translate([15.938,0.866,0]) diode(); + translate([5.688,-19.328,0]) diode(); + translate([-5.218, 2.771, 0]) diode(); + translate([-37.467,3.355,0]) diode(); + translate([-47.827,3.355,0]) diode(); + translate([-61.434,11.813,0]) diode(); + translate([-61.8,-7.211,0]) diode(); + translate([-47.816,22.304,0]) diode(); // The vertical(ish) diodes - translate([10.61, 24.7, 0]) rdiode(); - translate([10.585, 7.061, 0]) rdiode(); - translate([29.66, 25.106, 0]) rdiode(); - translate([28.365, -2.935, 0]) rdiode(); - translate([10.585, -13.146, 0]) rdiode(); - translate([25.977, -31.18, 0]) rdiode(); + translate([10.81, 24.5, 0]) rdiode(); + translate([10.785, 6.861, 0]) rdiode(); + translate([29.86, 24.906, 0]) rdiode(); + translate([28.565, -2.935, 0]) rdiode(); + translate([10.785, -13.346, 0]) rdiode(); + translate([26.177, -31.38, 0]) rdiode(); - translate([46.5, -35.5, 0]) + translate([46.58, -35.6, 0]) rotate(76) diode(); } diff --git a/case/readme.md b/case/readme.md index e4057cd..c847ba3 100644 --- a/case/readme.md +++ b/case/readme.md @@ -5,8 +5,20 @@ If you just want to make small adjustments and generate your own version, install openscad, and open a scad file and press F6 to generate. Export->stl to get printable model. -For the top parts, I recommend rotating them 180 degrees -in the slicer, so the top is on the printer bed. +Make sure you install the development snapshot, since the +last official release is hopelessly out of date... +You need to tweak some settings to be able to build +the model efficiently: Go to preferences->advanced and +increase "turn off rendering at" to 3 million. +Next go to preferences->features and check "manifold" +(this will enable multi-thread rendering and speed things + up dramatically!) + +For the slicer, I did not do much experimenting... +Maybe somebody into 3D printing could help me out with +the silicone bumper recesses: removing the supports in +these holes is a pain... + I used 100% infill, since its not that much difference in time/weight, and I hope that it contributes to a more compact and better sounding case... diff --git a/pcb/cheapino.kicad_pro b/pcb/cheapino.kicad_pro index deb137f..40730df 100644 --- a/pcb/cheapino.kicad_pro +++ b/pcb/cheapino.kicad_pro @@ -80,6 +80,8 @@ "footprint_type_mismatch": "error", "hole_clearance": "error", "hole_near_hole": "error", + "hole_to_hole": "warning", + "holes_co_located": "warning", "invalid_outline": "error", "isolated_copper": "warning", "item_on_disabled_layer": "error", @@ -488,7 +490,7 @@ "pos_files": "", "specctra_dsn": "", "step": "", - "svg": "", + "svg": "case/left", "vrml": "" }, "page_layout_descr_file": ""