chiark / gitweb /
poster-tube-lid: Additional tests for catch_pin_width debug
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 19:54:40 +0000 (19:54 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Nov 2018 19:54:40 +0000 (19:54 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad

index 2e8209f..5464801 100644 (file)
@@ -611,6 +611,35 @@ module CatchDemo(){ /////toplevel
     Cover();
 }
 
+module CatchDemoS(){ /////toplevel
+  color("blue") translate([0,0,
+            -catch_strap_width
+            -cpp0[1]
+            ])
+    CatchAssembly();
+  intersection(){
+    translate([0,0,+side_height
+              ])
+      Cover();
+    mirror([0,1,0]) translate([-250,33,0]) cube([500,500,500]);
+  }
+  color("black")
+    translate([0,-33,0])
+    cube([6.15, 2,2], center=true);
+}
+
+module CatchPinProfileDemo(){ /////toplevel
+  echo("G ",
+       cpp2[0] - cpp1[0],
+       bayo_n[0] - bayo_e[0]);
+  color("blue") translate([-cpp2[0],
+                          -cpp2[1],
+                          +1,
+            ])
+    CatchCoreProfile();
+  polygon(bayo_polygon, convexity=10);
+}
+
 //ProfilesDemo();
 //BayonetCutout();
 //MainProfile();