X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=mic-table-clamp.scad;h=26de11850f14dafb089d463b7075b325a696a7f0;hp=e7656079f3aa6fd20195895d23c7ac2f1264d045;hb=916bd585aa4d5c37e2b5326d83c453e110e1ab58;hpb=c6d070fbacf2776a12f6fca34345368d19ca2061 diff --git a/mic-table-clamp.scad b/mic-table-clamp.scad index e765607..26de118 100644 --- a/mic-table-clamp.scad +++ b/mic-table-clamp.scad @@ -12,13 +12,17 @@ include positive_dia = inch * 3/8. - 0.375; positive_l = inch * 1/2.; +positive_blank_dia = 8.25; +blank_l = 17; +blank_taper = 1.0; + stem_l = 40; stem_dia = 12; stem_th = 3; stem_ceil = 2; stem_base_th = 4; stem_base_dia = 25; -stem_inner_l = 30; +stem_inner_l = 15; thread_nom = 8; thread_pitch = 1.25; @@ -71,11 +75,9 @@ module OurThread(l){ test=$test, length=l); } -module Stem(){ ////toplevel +module StemWith(){ translate([0,0, stem_l -0.1]) - english_thread(diameter=positive_dia/inch, threads_per_inch=16, - leadin=1, test=$test, - length= (positive_l + 0.1) / inch); + children(); difference(){ union(){ @@ -87,6 +89,27 @@ module Stem(){ ////toplevel } OurThread(stem_inner_l); } +} + +module Stem(){ ////toplevel + StemWith() + english_thread(diameter=positive_dia/inch, threads_per_inch=16, + leadin=1, test=$test, + length= (positive_l + 0.1) / inch); +} + +module StemBlankPart(){ + hull(){ + cylinder(h = blank_l + 0.1 - blank_taper, + r = positive_blank_dia/2); + cylinder(h = blank_l + 0.1, + r = positive_blank_dia/2 - blank_taper); + } +} + +module BlankStem(){ ////toplevel + StemWith() + StemBlankPart(); } module Wingnut(){ ////toplevel @@ -189,8 +212,13 @@ module ClampBot(){ ////toplevel } } +module StemBlankTest(){ ////toplevel + StemBlankPart(); + linextr(-1.5,0) square(center=true, [10,35]); +} + module Demo(){ ////toplevel - color("blue") translate([0,0, clamp_top_th+0.5]) Stem(); + color("blue") translate([0,0, clamp_top_th+0.5]) BlankStem(); color("red") ClampTop(); color("grey") translate([0,0, -(clamp_bot_th + 5)]) ClampBot(); translate([0,0, -(clamp_bot_collar +10)])