X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=wall-cable-hook.scad;h=30762655ed21c069523d0daffd8637d54f3ca98a;hp=93263e368727db1b3667755063c785d34687e04d;hb=457cf6af6a0931a6baef7c51e49f2ca6dd02c135;hpb=79f4e88044ef1588e08a005e7f6b97a655c066e3 diff --git a/wall-cable-hook.scad b/wall-cable-hook.scad index 93263e3..3076265 100644 --- a/wall-cable-hook.scad +++ b/wall-cable-hook.scad @@ -1,10 +1,13 @@ // -*- C -*- -circle_inner_rad = 10; +circle_inner_rad = 10 + 0.5; thick = 3; -tab_sz = 15; +tab_sz = 20; +width = 20; + +screw_hole_dia = 4.5 + 0.5; // calculated @@ -12,8 +15,8 @@ circle_outer_rad = circle_inner_rad + thick; module Plan() { difference(){ - circle(r=circle_outer_rad); - circle(r=circle_inner_rad); + circle(r=circle_outer_rad, $fn=150); + circle(r=circle_inner_rad, $fn=150); mirror([1,0]) square([50,50]); } translate([-circle_outer_rad, -0.1]) @@ -24,4 +27,14 @@ module Plan() { square([thick, tab_sz + circle_outer_rad + thick]); } -Plan(); +module Hook(){ + difference(){ + linear_extrude(height=width) Plan(); + if (false) + translate([-50, circle_outer_rad + tab_sz - width/2, width/2]) + rotate([0,90,0]) + cylinder(r= screw_hole_dia / 2, h=100, $fn=50); + } +} + +Hook();