From: Ian Jackson Date: Tue, 1 Sep 2020 23:03:53 +0000 (+0100) Subject: nook-case: wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=57ce411e18aacb2af986ee807b795011cea83d05;p=reprap-play.git nook-case: wip Signed-off-by: Ian Jackson --- diff --git a/nook-case.scad b/nook-case.scad index 720dcf2..e814e91 100644 --- a/nook-case.scad +++ b/nook-case.scad @@ -95,6 +95,38 @@ module Demo(){ ////toplevel //%SideTapeCutout(); } +module FaceCore(y0,y1){ + nom_cnr = 0.5 * [nook_w, nook_h, 0] - nook_cnr_rad * [1,1,0]; + + for (mx=[0,1]) mirror([mx,0,0]) { + for (my=[0,1]) mirror([0,my,0]) { + translate(-nom_cnr) { + rotate_extrude(angle=90, convexity=10) + translate(-[1,0,0] * nook_cnr_rad) + children(0); + } + } + translate([nook_w/2, 0,0]) + linextr_y_xz(-nom_cnr[1]-0.1, nom_cnr[1]+0.1) + children(0); + } + for (my=[0,1]) mirror([0,my,0]) { + translate([0, -nook_h/2, 0]) + linextr_x_yz(-nom_cnr[0]-0.1, nom_cnr[0]+0.1) + children(0); + } +} + +module Base(){ ////toplevel + FaceCore(0,0) + SideMainProfile(); +} + +module Top(){ ////toplevel + FaceCore(0,0) + TopMainProfile(); +} + module TestExtrude(){ difference(){ linextr_y_xz(-test_pillar, tape_w+test_pillar) children(0);