chiark / gitweb /
poster-tube-lid: add StrapHoop module
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Oct 2017 22:10:59 +0000 (23:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Oct 2017 22:10:59 +0000 (23:10 +0100)
poster-tube-lid.scad

index 7937659..433f466 100644 (file)
@@ -52,6 +52,10 @@ jig_hole_dia = 3.0;
 jig_rim = 5;
 jig_mark = 5;
 
+strap_hoop_thick = 6;
+strap_hoop_inside = 10;
+strap_hoop_strlen = 10;
+
 // calculated
 
 bayo_entry_x = bayo_entry;
@@ -163,6 +167,32 @@ module MainProfile(){
   }
 }
 
+module StrapHoopProfile(){
+  circle(r = strap_hoop_thick/2);
+}
+
+module StrapHoop(){ ////toplevel
+  bigrad = strap_hoop_inside + strap_hoop_thick/2;
+  extralen = strap_hoop_thick;
+
+  for (x= [ -1, +1 ] * bigrad) {
+    translate([x, -extralen, 0])
+      rotate([-90,0,0])
+      linear_extrude(height= extralen + strap_hoop_strlen + 0.1,
+                    convexity=10)
+      StrapHoopProfile();
+  }
+  translate([0, strap_hoop_strlen, 0]){
+    intersection(){
+      rotate_extrude(convexity=10)
+       translate([bigrad, 0,0])
+       StrapHoopProfile();
+      translate([0,50,0])
+       cube([100,100,100], center=true);
+    }
+  }
+}
+
 module HandlingProfile(){
 //  translate([
 }