From 709b37e85527845b1306f6ec2b10021a735b57bf Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 1 Aug 2015 23:23:06 +0100 Subject: [PATCH] pull-cord-keeper: wip --- pull-cord-keeper.scad | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/pull-cord-keeper.scad b/pull-cord-keeper.scad index 1e367b6..ddbcaf6 100644 --- a/pull-cord-keeper.scad +++ b/pull-cord-keeper.scad @@ -17,6 +17,9 @@ feedxgap = 5; feedzgap = 5; +ribdepth = 2; +ribheight = 3; + module Oval(centredist, rad) { hull() { translate([-centredist/2,0,0]) circle(r=rad); @@ -51,8 +54,28 @@ module Division(biggerpi) { cube([100, 100, 10]); } -//difference(){ -% Positive(); -// Division(0); -//} -Division(1); +module Ribs(){ + imax = ceil(height*2 / ribheight); + for (i=[-imax:imax]) { + hull(){ + translate([-ribdepth/2, + ribheight*i, + 0]) + polygon([[0, 0], + [ribdepth, -ribheight], + [ribdepth, +ribheight]]); + translate([50, 0]) + square([1, height*2], center=true); + } + } +} + +module Demo(){ + //difference(){ + % Positive(); + // Division(0); + //} + Division(1); +} + +Ribs(); -- 2.30.2