From 08529e66d4bb3231eda924d5c16862dd2de135e7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Aug 2016 15:27:51 +0100 Subject: [PATCH] lock-inframe-bracket: ThroughHoles wip --- lock-inframe-bracket.scad | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lock-inframe-bracket.scad b/lock-inframe-bracket.scad index b890609..3d36862 100644 --- a/lock-inframe-bracket.scad +++ b/lock-inframe-bracket.scad @@ -17,6 +17,9 @@ clip_th = 2.5; clip_gap = 2.5; clip_d = 22.0; +mountscrew_dia = 4 + 0.5; +clipbolt_dia = 5 + 0.5; + // calculated front_th = main_th; @@ -98,6 +101,24 @@ module ExtrudeClipElevation(extra=0){ children(0); } +module ThroughHole(r, y, z) { + translate([-50, y, z]) + rotate([0, 90, 0]) + cylinder(r=r, h=100, $fn=20); +} + +module ThroughHoles(){ + for (z=[ 1/4, 3/4 ]) { + ThroughHole( mountscrew_dia/2, + -tube_or -0.5*backflange_d, + total_h * z ); + } + + ThroughHole( clipbolt_dia/2, + lock_0y + lock_d/2 + clip_d/2, + total_h - cliprecess_h - clip_th - clip_d/2 ); +} + module MainPositive(){ difference(){ union(){ @@ -111,3 +132,4 @@ module MainPositive(){ //MainPlan(); //ClipElevation(); MainPositive(); +%ThroughHoles(); -- 2.30.2