chiark / gitweb /
lock-inframe-bracket: MainPositive seem ok
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 14:07:31 +0000 (15:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2016 14:07:31 +0000 (15:07 +0100)
lock-inframe-bracket.scad

index 5bec11892a0fa70b103b11f630403fb6225174d1..b890609290ef7a877e0b8a9f37bb55287da1b84a 100644 (file)
@@ -15,6 +15,7 @@ main_th = 2.5;
 midweb_d = 3;
 clip_th = 2.5;
 clip_gap = 2.5;
+clip_d = 22.0;
 
 // calculated
 
@@ -88,5 +89,25 @@ module ClipElevation(){
   }
 }
 
+module ExtrudeClipElevation(extra=0){
+  translate([0,
+            lock_0y + lock_d/2 + clip_d + extra,
+            -clip_ymin])
+    rotate([90,0,0])
+    linear_extrude(height= clip_d + extra*2, convexity=100)
+    children(0);
+}
+
+module MainPositive(){
+  difference(){
+    union(){
+      linear_extrude(height=total_h, convexity=100) MainPlan();
+      ExtrudeClipElevation() ClipElevationPositive();
+    }
+    ExtrudeClipElevation(1) ClipElevationNegative();
+  }
+}
+
 //MainPlan();
-ClipElevation();
+//ClipElevation();
+MainPositive();