From 5b7ca8590cd0084acdf5e212ce729d7a9f7f0c43 Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Fri, 25 Feb 2022 08:54:52 +0100
Subject: [PATCH] Moar clip development

---
 pcb/10W/TransportProtection.scad | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/pcb/10W/TransportProtection.scad b/pcb/10W/TransportProtection.scad
index 8f35050..9895101 100644
--- a/pcb/10W/TransportProtection.scad
+++ b/pcb/10W/TransportProtection.scad
@@ -45,9 +45,15 @@ module pcb3D(wi, hi, ri, height=1.6, off=pcb_off) {
 
 
 module body(wi, hi, ri, height=pcb_t, off=pcb_off, _str=box_str) {
+
+  outer_w = wi;
+
   difference() {
     pcb3D(wi, hi, ri, height=height, off=_str);
+    
     translate([0, 0, _str]) pcb3D(wi, hi, ri, height=height, off=off);
+    
+    for (tx=[-outer_w/2]) translate([tx, 0, height/2]) rotate([0, 0, 0]) clipReceptacle();
   }
 }
 
@@ -86,12 +92,12 @@ module clipReceptacle(w=10, h=3, d=2) {
   
 }
 
-clipReceptacle();
+// clipReceptacle();
 
 
-// body(pcb_w, pcb_h, pcb_r);
+body(pcb_w, pcb_h, pcb_r);
 
-//translate([0, 0,box_str]) PCBMockUp();
+translate([0, 0,box_str]) PCBMockUp();
 
 
 
-- 
GitLab