chiark / gitweb /
pattress-boxes-3-cover: RailProfile: introduce lid_rail_strongwall
[reprap-play.git] / pattress-boxes-3-cover.scad
index 3e8a1d4cde1cd1eec6fd063d9419d19abf549d6a..dbd06c9ff855d6bcd8530935cedd9b11abcbdf76 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(){