From 6c2a19366f6dfcbc78376d69636c4d3ff4f909e3 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 24 Dec 2016 22:43:33 -0700 Subject: [PATCH] Structure doc --- fcad.scad | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fcad.scad b/fcad.scad index 825a40b..13aba4f 100644 --- a/fcad.scad +++ b/fcad.scad @@ -1,5 +1,11 @@ fDraw(fCylinder(10, r1=5, r2=2)); +///// Data structures + +/// model: +/// kKeyPoints "points" fPoints(): [ [x, y, z], ... ] +/// kKeyFaces "faces" fFaces(): [ [ pointIdx, ... ], ... ] + ///// Drawing modules module fDraw(model) { polyhedron(points=fPoints(model), faces=fFaces(model));