X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=pull-cord-keeper.scad;fp=pull-cord-keeper.scad;h=b7a6aa7e6a9a929b6f9bba2c4b0a29bdcf93df6e;hb=98e8b71a90856a50147edcce3c30a6836648f497;hp=0000000000000000000000000000000000000000;hpb=b52559747d341233af191fd026f5c3f3a07252a5;p=reprap-play.git diff --git a/pull-cord-keeper.scad b/pull-cord-keeper.scad new file mode 100644 index 0000000..b7a6aa7 --- /dev/null +++ b/pull-cord-keeper.scad @@ -0,0 +1,34 @@ +// -*- C -*- + +hoopthick = 3; + +hinnerrad = 15; +houterrad = hinnerrad + hoopthick; +hcentredist = 10; + +blockdepth = 5; +blockwidth = hcentredist*2 + 6; + +module Oval(centredist, rad) { + hull() { + translate([-centredist/2,0,0]) circle(r=rad); + translate([+centredist/2,0,0]) circle(r=rad); + } +} + +module Hoop(){ + difference(){ + Oval(hcentredist, houterrad); + Oval(hcentredist, hinnerrad); + } +} + +module Positive(){ + Hoop(); + translate([0, (blockdepth + hoopthick)/2 + hinnerrad]) + square([blockwidth, + blockdepth + hoopthick], + center=true); +} + +Positive();