From: Ian Jackson Date: Fri, 15 Mar 2013 21:01:15 +0000 (+0000) Subject: tablet-stand: wip X-Git-Tag: filamentspool-v2-release~581^2~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=f13e81fa0ecc96325c9d67eab3db492f05aeb7e7 tablet-stand: wip --- diff --git a/tablet-stand.scad b/tablet-stand.scad index cabaa97..c634512 100644 --- a/tablet-stand.scad +++ b/tablet-stand.scad @@ -1,5 +1,8 @@ // -*- C -*- +whole_depth = 90; +whole_width = 120; + antifoot_width = 15; antifoot_height = 15; antifoot_slope = 1.0; @@ -7,8 +10,9 @@ antifoot_depth = 10; antifoot_base = 8; antifoot_front = 5; +antifoot_back = antifoot_depth + antifoot_height/antifoot_slope; + module AntiFoot(){ - antifoot_back = antifoot_depth + antifoot_height/antifoot_slope; translate([-antifoot_front-antifoot_back, antifoot_width/2, 0]) rotate([90,0,0]) translate([antifoot_front, antifoot_base, 0]) @@ -22,4 +26,19 @@ module AntiFoot(){ [antifoot_back, -antifoot_base]]); } -AntiFoot(); +module LeftLeg(){ + effective_depth = whole_depth - antifoot_back; + translate([-effective_depth, -whole_width/2, 0]) + AntiFoot(); +} + +module RightLeg(){ + mirror([0,1,0]) LeftLeg(); +} + +module Stand(){ + LeftLeg(); + RightLeg(); +} + +Stand();