From: Ian Jackson Date: Tue, 6 Jun 2017 18:12:47 +0000 (+0100) Subject: sewing-table: NewEndProfile: rotate adj X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=eb93f42ba750a31e6695a48a4eb2d96104d078fd sewing-table: NewEndProfile: rotate adj --- diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index c542c75..f9b32af 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -468,6 +468,8 @@ module Machine_NewEndProfile(){ [[50.3800,21.9578], [50.1933,14.4933]]]; // lines, Blue3 baseline = 10 * [[8.4000,18.0822], [50.3000,17.6822]]; // line, Green2 + rot_adj = -0.38; + posbox = [min(posboxs[0][0],posboxs[1][0]), max(posboxs[0][1],posboxs[1][1])]; @@ -488,7 +490,8 @@ m4_define(`MNEP_ELP', // rot = atan2(-sideline[0], sideline[1]); // sc = scaleline_mm / scaleline; //echo("SH",sh,rot,sc); - scale(sc) rotate(rot) translate(-[sh[0],-sh[1]]){ + + scale(sc) rotate(rot + rot_adj) translate(-[sh[0],-sh[1]]){ mirror([0,1]){ //%translate(1 * (posboxs[0] - posbox)) square(50);