chiark / gitweb /
poster-tube-lid: catch: Colourise CatchDemo
[reprap-play.git] / poster-tube-lid.scad
index 8528673b9517dea6285a4f1e6e7e8fc680679fee..b70ea3d50cf7e4408020ec1d8e7655dab5ef5733 100644 (file)
@@ -580,11 +580,32 @@ module CatchPreDistort(){ /////toplevel
 }
 
 module CatchAssembly(){ /////toplevel
 }
 
 module CatchAssembly(){ /////toplevel
-  scale(sm_inner_rad / 100)
+  rotate([0,0, -0.5 * (cpp1[0] + cpp2[0]) / sm_inner_rad * 360/TAU])
+    translate([0,0, catch_strap_width])
+    scale(sm_inner_rad / 100)
     import(str("poster-tube-lid,CatchPostDistort-fa",
               (coarse ? 20 : 1),
               ".stl"),
           convexity=20);
     import(str("poster-tube-lid,CatchPostDistort-fa",
               (coarse ? 20 : 1),
               ".stl"),
           convexity=20);
+
+  SomeStrap(){
+    union(){ }
+    union(){
+      translate([-200, -200, -200])
+       cube([400, 200, 400]);
+    }
+  }
+}
+
+module CatchDemo(){ /////toplevel
+  color("blue") translate([0,0,
+            -catch_strap_width
+            -cpp0[1]
+            ])
+    CatchAssembly();
+  translate([0,0,+side_height
+            ])
+    Cover();
 }
 
 //ProfilesDemo();
 }
 
 //ProfilesDemo();