From: Ian Jackson Date: Wed, 31 Oct 2018 00:31:09 +0000 (+0000) Subject: ksafe-base: side walls refactor, wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d2472024520849371f0b73aab55a0017d4f1b74b;p=reprap-play.git ksafe-base: side walls refactor, wip Signed-off-by: Ian Jackson --- diff --git a/ksafe-base.scad b/ksafe-base.scad index a778969..807ee29 100644 --- a/ksafe-base.scad +++ b/ksafe-base.scad @@ -154,11 +154,14 @@ module WebProfile(){ module SWalls(ymin, ymax, t_bevel) { upp_app_Vars(t_bevel) { translate([0,ymin,0]) -// rotate([90,0,0]) -mirror([0,1,0]) - rotate([90,0,0]) + mirror([0,1,0]) + rotate([90,0,0]) linear_extrude(height= ymax-ymin, convexity=10) - children(); + for (xm=[0,1]) { + mirror([xm,0]) + translate([-hsz, 0]) + children(); + } } } @@ -177,18 +180,12 @@ module KsafeBase(){ } // side walls - for (xm=[0,1]) { - mirror([xm,0,0]){ - translate([-hsz, 0,0]){ - SWalls(yw6 , yw4 , bevel ) UsualProfile(); - SWalls(yw5 , yw4 , a_bevel) AnchorWallProfile(); - SWalls(yw5 , yw12, a_bevel) NearAnchorProfile(); - SWalls(yw3 , yw2 , a_bevel) AnchorProfile(); - SWalls(yw11, yw12, a_bevel) AnchorWallProfile(); - SWalls(yw11, yw13, bevel ) UsualProfile(); - } - } - } + SWalls(yw6 , yw4 , bevel ) UsualProfile(); + SWalls(yw5 , yw4 , a_bevel) AnchorWallProfile(); + SWalls(yw5 , yw12, a_bevel) NearAnchorProfile(); + SWalls(yw3 , yw2 , a_bevel) AnchorProfile(); + SWalls(yw11, yw12, a_bevel) AnchorWallProfile(); + SWalls(yw11, yw13, bevel ) UsualProfile(); } module DemoProfiles(){