From 2483089edbc7bcb2912616f8b28fced4333815dd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 15 Mar 2013 21:15:09 +0000 Subject: [PATCH] tablet-stand: wip --- tablet-stand.scad | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tablet-stand.scad b/tablet-stand.scad index c634512..dec652a 100644 --- a/tablet-stand.scad +++ b/tablet-stand.scad @@ -7,9 +7,15 @@ antifoot_width = 15; antifoot_height = 15; antifoot_slope = 1.0; antifoot_depth = 10; -antifoot_base = 8; +antifoot_base = 12; antifoot_front = 5; +leg_width = 8; +leg_thick = 8; + +stretcher_thick = 5; +stretcher_width = 8; + antifoot_back = antifoot_depth + antifoot_height/antifoot_slope; module AntiFoot(){ @@ -24,12 +30,20 @@ module AntiFoot(){ [antifoot_depth, 0], [antifoot_back, antifoot_height], [antifoot_back, -antifoot_base]]); + translate([-antifoot_back, 0, 0]) + cube([stretcher_width, whole_width*0.55, stretcher_width]); } module LeftLeg(){ effective_depth = whole_depth - antifoot_back; translate([-effective_depth, -whole_width/2, 0]) AntiFoot(); + multmatrix([[1,0,0,0], + [-((whole_width - leg_width)/2 / effective_depth), 1,0,0], + [0,0,1,0], + [0,0,0,1]]) + mirror([1,0,0]) + cube([effective_depth, leg_width, leg_thick]); } module RightLeg(){ -- 2.30.2