From: Ian Jackson Date: Sat, 26 Dec 2015 00:28:14 +0000 (+0000) Subject: pattress-boxes-3-cover: RailProfile, introduce lslop (nfc) X-Git-Tag: filamentspool-v2-release~37 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=d11ada6d34595b332c8558d30a3bf42887c3aa44 pattress-boxes-3-cover: RailProfile, introduce lslop (nfc) --- diff --git a/pattress-boxes-3-cover.scad b/pattress-boxes-3-cover.scad index 03927c5..6122f5d 100644 --- a/pattress-boxes-3-cover.scad +++ b/pattress-boxes-3-cover.scad @@ -72,15 +72,15 @@ module LidSideProfile(){ [-lid_top_wall, -lid_front_wall]]); } -module RailProfile(){ +module RailProfile(lslop=0.1){ yt_base = thinbox_front_z; yt = yt_base - lid_rail_behindslop; pegx = (lid_inner_w_nom - patbox_centres)/2; - polygon([[-0.1, yt], + polygon([[-lslop, yt], [pegx - peg_main_dia/2, yt], [pegx - peg_main_dia/2, yt_base - peg_straight_len], - [-0.1, + [-lslop, yt_base - peg_straight_len - (pegx - peg_main_dia/2)/peg_slope -0.1]]); }