From 7806a6cd146916640e2e5fbedc408e024974a963 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 31 Oct 2018 00:55:59 +0000 Subject: [PATCH] ksafe-base: bolt holes Signed-off-by: Ian Jackson --- ksafe-base.scad | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ksafe-base.scad b/ksafe-base.scad index 1e2a24a..2f74d7a 100644 --- a/ksafe-base.scad +++ b/ksafe-base.scad @@ -189,7 +189,7 @@ module AtTwoCorners(){ } } -module KsafeBase(){ +module Box(){ /// corners, and front and back of base for (ym=[0,1]) mirror([0,ym,0]) { AtTwoCorners(){ @@ -219,6 +219,16 @@ module KsafeBase(){ rotate([0,0,90]) SWalls(yw6, yw13, bevel) UsualProfile(); } +module KsafeBase(){ + difference(){ + Box(); + + // bolt holes + translate([0,0, -bolt_above -0.5 * bolthole_height]) + cube(center=true, [ main_sz + 20, bolthole_width, bolthole_height ]); + } +} + module DemoProfiles(){ translate([0,0,-2]) color("yellow") AnchorWallProfile(); color("red") AnchorProfile(); @@ -228,4 +238,5 @@ module DemoProfiles(){ } //DemoProfiles(); +//Box(); KsafeBase(); -- 2.30.2