chiark / gitweb /
pattress-boxes-3-cover: RailProfile: introduce lid_rail_strongwall
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Dec 2015 23:46:54 +0000 (23:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Dec 2015 23:46:54 +0000 (23:46 +0000)
pattress-boxes-3-cover.scad

index 3e8a1d4..dbd06c9 100644 (file)
@@ -37,6 +37,7 @@ peg_slope = 1;
 
 lid_side_slop = 0.5;
 lid_rail_behindslop = 0.5;
+lid_rail_strongwall = 2.5;
 
 // computed
 
@@ -76,13 +77,18 @@ module RailProfile(lslop=0.1){
   yt_base = thinbox_front_z;
   yt = yt_base - lid_rail_behindslop;
   pegx = (lid_inner_w_nom - patbox_centres)/2;
+  sw = lid_rail_strongwall;
   
   polygon([[-lslop,                  yt],
           [pegx - peg_main_dia/2, yt],
           [pegx - peg_main_dia/2, yt_base - peg_straight_len],
-          [-lslop,
+          [sw,
            yt_base - peg_straight_len - (pegx - peg_main_dia/2)/peg_slope
-           -lslop]]);
+           +sw],
+          [sw,
+           lid_seatline_h - 1],
+          [-lslop,
+           lid_seatline_h - 1]]);
 }
 
 module LidSide(){