From: Ian Jackson Date: Fri, 25 Dec 2015 17:46:52 +0000 (+0000) Subject: pattress-boxes-3-cover: LidSide, wip X-Git-Tag: filamentspool-v2-release~56 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=62a5cb6fe51e8fa1bdb716152fa60d4511abe3f6;p=reprap-play.git pattress-boxes-3-cover: LidSide, wip --- diff --git a/pattress-boxes-3-cover.scad b/pattress-boxes-3-cover.scad index b30268b..4199dbc 100644 --- a/pattress-boxes-3-cover.scad +++ b/pattress-boxes-3-cover.scad @@ -9,6 +9,9 @@ lid_thinbox_h = 9; lid_fatbox_h = 24; lid_fatbox_switches_h = 6+2; +lid_max_switches_w = 70; +lid_switches_y_slop = 3; + total_len = 260; thinbox_len = 87; @@ -23,6 +26,12 @@ lid_inner_min_h = lid_box_overlap + lid_fatbox_switches_h; lid_inner_kink = [thinbox_len, thinbox_len*2]; +lid_rail_w = (patbox_side - lid_max_switches_w)/2 - lid_switches_y_slop; + +lid_rail_h = lid_fatbox_switches_h; + +echo(lid_rail_w); + module LidSideProfile(){ polygon([[-lid_top_wall, lid_inner_max_h], [lid_inner_kink[0], lid_inner_max_h], @@ -33,9 +42,17 @@ module LidSideProfile(){ } module LidSide(){ + overlap = [0.1, 0.1, 0.1]; + rotate([90,0,0]) - linear_extrude(height= lid_side_wall) + linear_extrude(height= lid_side_wall) LidSideProfile(); + + translate(-overlap) + cube(overlap + [total_len, lid_rail_w, lid_rail_h]); + + translate([-0.1, -0.1, -lid_front_wall]) + cube([total_len+0.1, patbox_side/2 + 0.2, lid_front_wall]); } LidSide();