chiark / gitweb /
poster-tube-lid: catch: Provide CatchDemo
[reprap-play.git] / poster-tube-lid.scad
index fb0667f9a8ec1283b8df0cfe6aa8928b632121c6..6ae96f99b41e65e434dae5256deaad617645cc99 100644 (file)
@@ -580,7 +580,8 @@ module CatchPreDistort(){ /////toplevel
 }
 
 module CatchAssembly(){ /////toplevel
-  translate([0,0, catch_strap_width])
+  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),
@@ -596,6 +597,17 @@ module CatchAssembly(){ /////toplevel
   }
 }
 
+module CatchDemo(){ /////toplevel
+  translate([0,0,
+            -catch_strap_width
+            -cpp0[1]
+            ])
+    CatchAssembly();
+  translate([0,0,+side_height
+            ])
+    %Cover();
+}
+
 //ProfilesDemo();
 //BayonetCutout();
 //MainProfile();