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

index d9369b9..c7f057f 100644 (file)
@@ -55,11 +55,11 @@ P6t = P5 + [ 0, outside_pushh - ourcirc_r*2 ];
 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 ];
 
+outside_push_inadj_slope = (P3t[1]-P4[1]) / (P6a[1]-P5[1]);
+
 module ExtrusionSect(){
   cr = openingedge_dia/2;
   toph = opening_height/2 + opening_protrh;