From dd880d236c866732955a3005781ca356fd11e377 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 12 Aug 2023 14:15:29 +0100 Subject: [PATCH] rope-adjuster: wip, teeth Signed-off-by: Ian Jackson --- rope-adjuster.scad | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/rope-adjuster.scad b/rope-adjuster.scad index edfe9ca..f181493 100644 --- a/rope-adjuster.scad +++ b/rope-adjuster.scad @@ -5,12 +5,12 @@ include hole_dia = 10; around_hole = 5; thick = 4; -lever_len = 65; +lever_len = 50; teeth_n = 4; teeth_bite = 4; teeth_pitch = 4; -teeth_gap = 2; +teeth_gap = 3; teeth_back = 2; teeth_height = 12; @@ -31,13 +31,18 @@ module Plan() { } module TeethPlan(){ - for (m=[0,1]) { - mirror([m,0]) { - for (i= [ 0: teeth_n-1 ]) { - translate([teeth_gap/2, teeth_pitch*i]) - polygon([[ 0,0 ], - [ teeth_bite, 0 ], - [ teeth_bite, teeth_pitch ]]); + translate([ + lever_len/2 - hole_dia/2 - teeth_bite - teeth_gap*1.5, + -0.5 * teeth_n * teeth_pitch, + ]) { + for (m=[0,1]) { + mirror([m,0]) { + for (i= [ 0: teeth_n-1 ]) { + translate([teeth_gap/2, teeth_pitch*i]) + polygon([[ 0,0 ], + [ teeth_bite, 0 ], + [ teeth_bite, teeth_pitch ]]); + } } } } -- 2.30.2