X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=doveclip.scad;h=6e9bb1d5d1b940c7eaaaa16d205eac426ec58c17;hp=a58859c716f0bf3b7a8bde852a452a190b0a3ab9;hb=3abca14fd1398de93282f7177aeebcaeb5afb897;hpb=df4da45dbd990257651abc7ec5198400cda2b0bb diff --git a/doveclip.scad b/doveclip.scad index a58859c..6e9bb1d 100644 --- a/doveclip.scad +++ b/doveclip.scad @@ -34,8 +34,6 @@ module DoveClipPin(h=height) { function DoveClip_depth() = basethick + nomrad*2 + toothheight; -function DoveClip_width() = - nomrad*2 + jawthick*2 + toothgap; module DoveClipEnd(baseextend=1, h=7) { cubex = nomrad*2 + jawthick*2; @@ -52,7 +50,7 @@ module DoveClipEnd(baseextend=1, h=7) { } module DoveClipPair(baseextend=1, h=7) { - delta = DoveClip_width(); + delta = nomrad*2 + jawthick*2 + toothgap; for (x=[-delta/2,delta/2]) translate([x,0,0]) DoveClipEnd(baseextend=baseextend, h=h); @@ -74,3 +72,6 @@ module DoveClipPairSane(baseextend=0, h=7, count=2) { translate([0, DoveClip_depth(), 0]) DoveClipPairBase(baseextend=baseextend, h=h, count=count); } + +function DoveClipPairSane_width(count=2) = + 2 * (nomrad + jawthick + ((nomrad*2 + jawthick) * (count-1)/2));