From 16187156ae630cf20952fc84f67f01f9a3f6ca8d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 May 2017 22:20:51 +0100 Subject: [PATCH] sewing-table: some comments (nfc) --- sewing-table.scad.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index 2995d9f..3b628e4 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -143,6 +143,8 @@ module RoundEdge(left_cnr, right_cnr) { } module RoundCornerCut(ci) { + // ci should be [this_cnr, right_cnr] + // where right_cnr is to the right (ie, anticlockwise) this_cnr = ci[0]; right_cnr = ci[1]; offr= round_cnr_rad - round_edge_rad; @@ -292,6 +294,8 @@ module TestDemo(){ ////toplevel } function Rectangle_corners(c0, sz) = + // returns the corners of a rectangle from c0 to c0+sz + // if sz is positive, the corners are anticlockwise starting with c0 [ c0 + [ 0, 0 ], c0 + [ sz[0], 0 ], c0 + [ sz[0], sz[1] ], -- 2.30.2