From: Ian Jackson Date: Wed, 28 Nov 2012 21:33:03 +0000 (+0000) Subject: anke-gps-bracket: body lhs and rhs ok X-Git-Tag: filamentspool-v2-release~663 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6de347bfa28975e972aa8a4b52784cc9229d3d00;p=reprap-play.git anke-gps-bracket: body lhs and rhs ok --- diff --git a/anke-gps-bracket.scad b/anke-gps-bracket.scad index 6303bc4..c18b716 100644 --- a/anke-gps-bracket.scad +++ b/anke-gps-bracket.scad @@ -26,9 +26,10 @@ pluggapd = 12; // Amount of wire protrusion to allow for plugwiremoreh = 30; -// Slops and steps +// Slops and steps etc. plugslop = 0.5; plughstep = 1.5; +bodylhsrhsslop = 0.5; // Dimensions for strength only screent = 1.0; @@ -73,14 +74,51 @@ module GpsPlug() { } } +lhsteethu = 2; + +module GpsLHSMask(xslop=0){ + translate([plug2lhs + plugw+plugh+plugstrutw, + 0, + -50]) { + for (iter=[-100/lhsteethu : 100/lhsteethu]) { + translate([0, iter*lhsteethu*2, 0]) { + linear_extrude(height=100) { + polygon([[-300, 0], + [ 0, 0], + [lhsteethu,lhsteethu], + [ 0, lhsteethu*2], + [-300, lhsteethu*2+0.1]]); + } + } + } + } +} + module GpsAssembled(){ ////toplevel GpsBody(); GpsPlug(); } +module GpsBodyLT(){ ////toplevel + intersection(){ + GpsBody(); + GpsLHSMask(); + } +} + +module GpsBodyRT(){ ////toplevel + difference(){ + GpsBody(); + GpsLHSMask(bodylhsrhsslop); + } +} + module GpsPlugT(){ ////toplevel rotate([0,-90,0]) GpsPlug(); } //GpsPlugT(); GpsAssembled(); +//GpsLHSMask(); +//GpsBodyLT(); +//GpsBodyRT();