X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=hole-repair-20191117.scad;h=0138c6741254a7e400bd6e1e57ba4b3666385d0e;hb=eb06f06509cc2403d8592cd147d89d9a1b8bb97f;hp=1c596cff25983d1794926f6a80a51b2091387f32;hpb=c93db1ea90f2383207258dcebd493b17e52857d7;p=reprap-play.git diff --git a/hole-repair-20191117.scad b/hole-repair-20191117.scad index 1c596cf..0138c67 100644 --- a/hole-repair-20191117.scad +++ b/hole-repair-20191117.scad @@ -5,20 +5,20 @@ post_height = 20; th = 4; -nom_hole = 22; +nom_hole = 25; min_r = 15 + nom_hole/2; -maj_r = 30 + nom_hole/2; +maj_r = 15 + nom_hole/2; postwall_th = 2; -//$fa=1; -//$fs=1; +$fa=1; +$fs=1; module Profile(r) { - polygon([ [0, 0], - [maj_r, 0], - [maj_r-th, th], - [0, th] ]); + polygon([ [0, 0], + [r, 0], + [r-th, th], + [0, th] ]); } module Body(){ @@ -32,11 +32,18 @@ module Body(){ module Post(){ difference(){ - cylinder(r= post_dia/2, h= post_height); translate([0,0,-1]) - cylinder(r= post_dia/2 - postwall_th, h= post_height+2); + cylinder(r= post_dia/2, h= post_height+1); + translate([0,0,-2]) + cylinder(r= post_dia/2 - postwall_th, h= post_height+3); } } +module Cover(){ + rotate([0,180,0]) Body(); + Post(); +} + //Body(); -Post(); +//Post(); +Cover();