X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=tablet-stand.scad;h=d7ef5645d2fd0031de04d59835e5975777bbe8fe;hp=dec652afeaa55464800c49d769102eef0b667f50;hb=d1f9fc4c0e7a12e00138ebb6b899a6a120be3864;hpb=2483089edbc7bcb2912616f8b28fced4333815dd diff --git a/tablet-stand.scad b/tablet-stand.scad index dec652a..d7ef564 100644 --- a/tablet-stand.scad +++ b/tablet-stand.scad @@ -13,10 +13,15 @@ antifoot_front = 5; leg_width = 8; leg_thick = 8; +post_height = 50; +orifice_dia = 22.1 + 0.3; +post_thick = 8; + stretcher_thick = 5; stretcher_width = 8; antifoot_back = antifoot_depth + antifoot_height/antifoot_slope; +post_rad = orifice_dia/2 + post_thick; module AntiFoot(){ translate([-antifoot_front-antifoot_back, antifoot_width/2, 0]) @@ -38,21 +43,30 @@ 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]); + hull(){ + translate([-effective_depth-leg_width/2, -whole_width/2, 0]) + cylinder(r=leg_width/2, h=antifoot_base); + cylinder(r=leg_width/2, h=post_height); + } } module RightLeg(){ mirror([0,1,0]) LeftLeg(); } +module Post(){ + cylinder(h=post_height, r=post_rad, $fn=70); +} + module Stand(){ - LeftLeg(); - RightLeg(); + difference(){ + union(){ + LeftLeg(); + RightLeg(); + Post(); + } + translate([0,0,-1]) cylinder(h=post_height+2, r=orifice_dia/2); + } } Stand();