From 250d264df228998248b42dc37528e3714f4f5bb2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 26 Dec 2015 00:22:43 +0000 Subject: [PATCH] pattress-boxes-3-cover: Rail, fix len --- pattress-boxes-3-cover.scad | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pattress-boxes-3-cover.scad b/pattress-boxes-3-cover.scad index 9e3ab2d..bfc1f22 100644 --- a/pattress-boxes-3-cover.scad +++ b/pattress-boxes-3-cover.scad @@ -59,6 +59,8 @@ echo(peg_main_height); thinbox_front_z = lid_fatbox_switches_h + lid_fatbox_h - lid_thinbox_h; +raillen = patbox_side/2 + peg_max_dia/2 * 1.5; + module LidSideProfile(){ polygon([[-lid_top_wall, lid_inner_max_h], [lid_inner_kink[0], lid_inner_max_h], @@ -104,7 +106,7 @@ module LidSide(){ // rail rotate([90,0,90]) translate([0,0,-0.1]) - linear_extrude(height=100.1) //todo + linear_extrude(height=raillen+0.1) //todo RailProfile(); } -- 2.30.2