From 68fc2ab0a93dc6860a3a5fb63aa32d261ff13089 Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Wed, 9 Mar 2022 04:29:44 +0100 Subject: [PATCH] Movind CAD files to the CAD folder --- .../CyanLight_10W}/TransportProtection.scad | 0 pcb/10W/TransportProtection_TODO:MERGE.scad | 38 ------------------- 2 files changed, 38 deletions(-) rename {pcb/10W => cad/CyanLight_10W}/TransportProtection.scad (100%) delete mode 100644 pcb/10W/TransportProtection_TODO:MERGE.scad diff --git a/pcb/10W/TransportProtection.scad b/cad/CyanLight_10W/TransportProtection.scad similarity index 100% rename from pcb/10W/TransportProtection.scad rename to cad/CyanLight_10W/TransportProtection.scad diff --git a/pcb/10W/TransportProtection_TODO:MERGE.scad b/pcb/10W/TransportProtection_TODO:MERGE.scad deleted file mode 100644 index 63ed5fd..0000000 --- a/pcb/10W/TransportProtection_TODO:MERGE.scad +++ /dev/null @@ -1,38 +0,0 @@ - -$fs = 0.5; -$fa = 1.0; - - - -pcb_w = 40.5; -pcb_h = 67.5; -pcb_r = 5; // edge radius -pcb_off = 0.4; -pcb_t = 5; // thickness including LED and inductor - -_str = 2; - - -module pcb(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off) { - - _w = w + 2*off; - _h = h + 2*off; - _r = r + off; - - hull() for (tx=[_r, _w-_r], ty=[_r, _h-_r]) translate([tx, ty, 0]) circle(r=r); -} - -module pcb3D(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, _str=1.6) { - linear_extrude(_str, convexity=4) pcb(w, h, r, off); -} - -module pcbBox(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, h=pcb_t, _str=_str) { - - difference() { - pcb3D(w=w, h=h, r=r, off=off, _str=h); - translate([_str, _str, _str]) pcb3D(w=w-2*_str, h=h-2*_str, r=r, off=off, _str=h); - } -} - -pcbBox(); - -- GitLab