From: Ian Jackson Date: Wed, 31 Oct 2018 00:55:59 +0000 (+0000) Subject: ksafe-base: bolt holes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=7806a6cd146916640e2e5fbedc408e024974a963 ksafe-base: bolt holes Signed-off-by: Ian Jackson --- 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();