chiark / gitweb /
poster-tube-lid: sloping bottom of catch tip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 28 Nov 2018 22:46:58 +0000 (22:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 28 Nov 2018 22:46:58 +0000 (22:46 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad

index 3ef360d..d4f2ccf 100644 (file)
@@ -611,7 +611,8 @@ module CatchAssemblyCoreProfile(){
            ]);
 }
 
-module CatchTipProfile(){
+module CatchTipProfile(dy){
+  ddy = [0,dy];
   intersection(){
     translate(cppF){
       difference(){
@@ -620,8 +621,8 @@ module CatchTipProfile(){
       }
     }
     polygon([ cppa,
-             cppi,
-             cppd,
+             cppi + ddy,
+             cppd + ddy,
              cppc,
              cppb ]);
   }
@@ -641,8 +642,12 @@ module CatchCore(){ /////toplevel
   linear_extrude(height=catch_strap_thick, convexity=10)
     CatchAssemblyCoreProfile();
 
-  linear_extrude(height=catch_tip_th, convexity=10)
-    CatchTipProfile();
+  hull(){
+    linear_extrude(height=catch_head_th, convexity=10)
+      CatchTipProfile(0);
+    linear_extrude(height=catch_tip_th, convexity=10)
+      CatchTipProfile(catch_tip_th - catch_head_th);
+  }
 
   linear_extrude(height=catch_head_th, convexity=10)
     CatchHeadProfile();