From: Ian Jackson Date: Wed, 3 Oct 2012 20:38:47 +0000 (+0100) Subject: add echo of square width and height to ensure they're +ve X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5fe2bb0f4559cffba3e79fe19d00dac1b1e8058d;p=reprap-play.git add echo of square width and height to ensure they're +ve --- diff --git a/pawn.scad b/pawn.scad index 98b5f66..abf2a61 100644 --- a/pawn.scad +++ b/pawn.scad @@ -38,7 +38,10 @@ $fa=1; $fs=0.1; module SegmentBasisSquare(zmin, zmax, xmin){ - translate([xmin, zmin-d]) square([-xmin+d, zmax-zmin+d*2]); + sqw = -xmin+d; + sqh = zmax-zmin+d*2; + echo(sqw,sqh); + translate([xmin, zmin-d]) square([sqw, sqh]); } module ConvexSegment(xc, zc, r, zmin, zmax){ intersection(){