From: Ian Jackson Date: Wed, 31 Jan 2018 21:46:36 +0000 (+0000) Subject: fairphone-case: add DemoLeft and DemoSelectAdhocLeftRight X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=40154e3c986aaaf9dbffeb8fea9d3738fe74ecd6 fairphone-case: add DemoLeft and DemoSelectAdhocLeftRight Signed-off-by: Ian Jackson --- diff --git a/fairphone-case.scad b/fairphone-case.scad index 093a647..5548b9d 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -1257,6 +1257,17 @@ module DemoPropAngles(){ ////toplevel DemoPropAngle(prop_angles[i]); } +module DemoSelectAdhocLeftRight(right=0) { + translate([phone_width/2, -400, -100]) // , -15, -100 to cross-section + mirror([1-right, 0,0]) + cube([400, 800, 200]); +} + +module DemoLeft(){ ////toplevel + color("red") intersection(){ Case(); DemoSelectAdhocLeftRight(); } + color("blue") intersection(){ Lid(); DemoSelectAdhocLeftRight(); } +} + module DemoFrame(){ ////toplevel color("red") TestFrameCase(); color("blue") intersection(){ Lid(); TestSelectLidFrame(); }