From ff47ca58f6911061299c81e2d9009e8741ba821e Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Tue, 28 Dec 2021 12:33:05 +0100
Subject: [PATCH] Adding transport protection device

---
 10W/TransportProtection.scad | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 10W/TransportProtection.scad

diff --git a/10W/TransportProtection.scad b/10W/TransportProtection.scad
new file mode 100644
index 0000000..96b1990
--- /dev/null
+++ b/10W/TransportProtection.scad
@@ -0,0 +1,30 @@
+
+$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
+
+
+
+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 pcbBox(wi, hi, ri, _str) {
+
+  linear_extrude(_str) pcb();;
+}
+
+pcbBox();
+
-- 
GitLab