From eb93f42ba750a31e6695a48a4eb2d96104d078fd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 6 Jun 2017 19:12:47 +0100 Subject: [PATCH] sewing-table: NewEndProfile: rotate adj --- sewing-table.scad.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.30.2