From 0d324b3ae4898ca3bfece00bee629f23db530b1f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 3 Jun 2017 19:51:39 +0100 Subject: [PATCH] sewing-table: RoundCorner: change definition to take left cnr too We do not actually use this yet so nfc When we do use it all existing call sites will become wrong --- sewing-table.scad.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index ca06e6b..dc4e056 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -238,10 +238,11 @@ module RoundEdge(left_cnr, right_cnr) { } module RoundCornerCut(ci) { - // ci should be [this_cnr, right_cnr] + // ci should be [this_cnr, right_cnr, left_cnr] // where right_cnr is to the right (ie, anticlockwise) this_cnr = ci[0]; right_cnr = ci[1]; + left_cnr = ci[2]; offr= round_cnr_rad - round_edge_rad; INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE { difference(){ @@ -255,6 +256,7 @@ module RoundCornerCut(ci) { module RoundCornerAdd(ci) { this_cnr = ci[0]; right_cnr = ci[1]; + left_cnr = ci[2]; bigr = round_cnr_rad - round_edge_rad; INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE { intersection(){ -- 2.30.2