From 19dd57ea106bc530ddd57fda06c43e2f3bc9a279 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 11 May 2014 23:01:40 +0100 Subject: [PATCH] brompton-computer-guard: wip --- brompton-computer-guard.scad | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/brompton-computer-guard.scad b/brompton-computer-guard.scad index 9620bdd..b37bd9d 100644 --- a/brompton-computer-guard.scad +++ b/brompton-computer-guard.scad @@ -59,15 +59,22 @@ module Tube(){ } } -module Bolts(){ +module Bolt(){ %translate([0,0,-50]) linear_extrude(height=80) { - translate([attach_cx, -attach_cdy]) rotate([0,0,-attach_ang]) { - translate([attach_inrad - attach_hole_dist - attach_hole_dia/2, 0]) - circle(r=attach_hole_dia/2, $fn=20); - translate([attach_inrad + attach_tube_dia - +attach_hole_dist + attach_hole_dia/2, 0]) - circle(r=attach_hole_dia/2, $fn=20); - } + circle(r=attach_hole_dia/2, $fn=20); + } + %translate([0,0,10]) linear_extrude(height=20) { + circle(r=attach_hole_dia/2 * 2, $fn=20); + } +} + +module Bolts(){ + translate([attach_cx, -attach_cdy]) rotate([0,0,-attach_ang]) { + translate([attach_inrad - attach_hole_dist - attach_hole_dia/2, 0]) + Bolt(); + translate([attach_inrad + attach_tube_dia + +attach_hole_dist + attach_hole_dia/2, 0]) + Bolt(); } } -- 2.30.2