chiark / gitweb /
flyscreen-handle: New inadj approach, use same P7 always
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 15:13:19 +0000 (16:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 15:13:19 +0000 (16:13 +0100)
flyscreen-handle.scad

index d7b8f572aa49a272b388fccd94ad9795fc7fb2c5..d9369b9c62cfeb361edd45c69e3188c5c481e4f6 100644 (file)
@@ -52,15 +52,13 @@ P8 = P9 + [ 0, outend_height - ourcirc_r*2 ];
 P5 = Q0 + p4p5d;
 
 P6t = P5 + [ 0, outside_pushh - ourcirc_r*2 ];
-P7t = [ P6t[0] + (P6t[1] - P1[1]) / outside_pushslope,
-       P1[1] ];
+P7 = [ P6t[0] + (P6t[1] - P1[1]) / outside_pushslope,
+       P1[1] ];
 
 outside_push_inadj_slope = (P3t[1]-P4[1]) / (P6a[1]-P5[1]);
 
 P3a = P3t + [ -outside_push_inadj, 0 ];
 P6a = P6t + [ -outside_push_inadj, 0 ];
-P7a = [ P6a[0] + (P6a[1] - P1[1]) / outside_pushslope,
-       P1[1] ];
 
 module ExtrusionSect(){
   cr = openingedge_dia/2;
@@ -120,7 +118,6 @@ module LeverSectTop(){
 
 module LeverSectBot(inadj=false){
   P6 = inadj ? P6a : P6t;
-  P7 = inadj ? P7a : P7t;
   mirror([0,1]) {
     LeverSect(inadj);
     PsHull([P5,P6,P7]);