From bbd4fcc6f8ed121e0bd423669042a9f2c96cdfd8 Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Wed, 2 Mar 2022 14:33:11 +0100
Subject: [PATCH] Positioning the clips

---
 pcb/10W/TransportProtection.scad | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pcb/10W/TransportProtection.scad b/pcb/10W/TransportProtection.scad
index 46f3612..6b1e00d 100644
--- a/pcb/10W/TransportProtection.scad
+++ b/pcb/10W/TransportProtection.scad
@@ -132,7 +132,7 @@ module triangularClip(w=20, h=3, d=3, length=10) {
   ]);
   
 }
-//triangularClip();
+
 
 
 module minkowskiDemonstration() {
@@ -181,6 +181,15 @@ module TransportProtection(w=pcb_w, h=pcb_h, r=pcb_r, height=pcb_t, off=pcb_off,
     translate([0, 0, 5.5]) rotate([0, 180, 0]) outerRing(w, h, r, $str+1);
 
   }
+  
+
+  // clipDisplacementX
+  clDsX = w/2 + off + $str;
+  
+  // outer edge height
+  oEH = _boxH + height + TpOrChamfer +2 +1;
+
+  for (i=[-1, 1]) translate([clDsX * i, 0, oEH]) rotate([0, 0, 90 + 90*i]) triangularClip();
 
 }
 
-- 
GitLab