From 861c306bb597c7ee0736fb4127e50160bd417e2a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Feb 2016 20:45:54 +0000 Subject: [PATCH] sealing-box: Add a doc comment (currently rather more hope than reality) --- sealing-box.scad.m4 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sealing-box.scad.m4 b/sealing-box.scad.m4 index 26697d1..21d54ec 100644 --- a/sealing-box.scad.m4 +++ b/sealing-box.scad.m4 @@ -1,5 +1,23 @@ // -*- C -*- +// This file can be used in two ways: +// +// A. Rectangular boxes +// 1. include +// 2. assign() values to (xxx these should be $ variables) +// ts_xbox (outer dimensions) +// ts_ybox (outer dimension) +// ts_zbox (??? xxx) +// ts_cnrrad (outer radius of corners, leave at default normall) +// xxx default should be in this file +// 3. use the modules +// SealingBox_RectBox +// SealingBox_RectLid +// +// B. Complicated shapes, but harder work +// 1. Be a .m4 file and m4_include sealing-box.scad.m4 +// 2. Maybe define your own BoxDoShapeRect xxx tbd + m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy) m4_dnl $5=kind, $6=kindargs, $7=profile(profileargsargs)) m4_define(`Box_Part',` -- 2.30.2