From: Ian Jackson Date: Sat, 26 Dec 2015 00:16:06 +0000 (+0000) Subject: pattress-boxes-3-cover: introduce thinbox_front_z (nfc) X-Git-Tag: filamentspool-v2-release~42 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d3ba28f16ad064f6dc7967418075ed28ed19df92;p=reprap-play.git pattress-boxes-3-cover: introduce thinbox_front_z (nfc) --- diff --git a/pattress-boxes-3-cover.scad b/pattress-boxes-3-cover.scad index 1fb88b0..70a1749 100644 --- a/pattress-boxes-3-cover.scad +++ b/pattress-boxes-3-cover.scad @@ -57,6 +57,8 @@ peg_main_height = peg_straight_len + (peg_max_dia - peg_main_dia)/2/peg_slope; echo(peg_main_height); +thinbox_front_z = lid_fatbox_switches_h + lid_fatbox_h - lid_thinbox_h; + module LidSideProfile(){ polygon([[-lid_top_wall, lid_inner_max_h], [lid_inner_kink[0], lid_inner_max_h], @@ -67,7 +69,7 @@ module LidSideProfile(){ } module RailProfile(){ - yt_base = lid_seatline_h + lid_fatbox_h - lid_thinbox_h; + yt_base = thinbox_front_z; yt = yt_base - lid_rail_behindslop; pegx = (lid_inner_w - patbox_centres)/2;