From 93166cb1e45ddb5196f5c7616ee344127b32ed67 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 17 May 2017 11:12:03 +0800 Subject: [PATCH] updated docs --- docs/lib-shape_arc.md | 2 +- docs/lib-shape_ellipse.md | 3 ++- docs/lib-shape_taiwan.md | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/lib-shape_arc.md b/docs/lib-shape_arc.md index 5a909dab..8e02d38e 100644 --- a/docs/lib-shape_arc.md +++ b/docs/lib-shape_arc.md @@ -27,7 +27,7 @@ Returns shape points of an arc shape. They can be used with xxx_extrude modules t_step = 0.05; width = 2; - shape_pts = shape_arc(radius = 10, angles = [-90, 90], width = 5); + shape_pts = shape_arc(radius = 10, angles = [90, 270], width = 5); p0 = [0, 0, 0]; p1 = [40, 60, 35]; diff --git a/docs/lib-shape_ellipse.md b/docs/lib-shape_ellipse.md index 58e7926c..eb81ccd3 100644 --- a/docs/lib-shape_ellipse.md +++ b/docs/lib-shape_ellipse.md @@ -32,7 +32,8 @@ Returns shape points of an ellipse. They can be used with xxx_extrude modules of helix_extrude(shape_pts, radius = 40, levels = 5, - level_dist = 20 + level_dist = 20, + rt_dir = "CLK" ); ![shape_ellipse](images/lib-shape_ellipse-2.JPG) diff --git a/docs/lib-shape_taiwan.md b/docs/lib-shape_taiwan.md index 4b9785b5..6b278888 100644 --- a/docs/lib-shape_taiwan.md +++ b/docs/lib-shape_taiwan.md @@ -41,14 +41,12 @@ Returns shape points of [Taiwan](https://www.google.com.tw/maps?q=taiwan&um=1&ie include ; include ; - mirror_taiwan = [for(pt = shape_taiwan(80)) [pt[0] * -1, pt[1]]]; - r1 = 15; r2 = 100; levels = 3; level_dist = 50; - helix_extrude(mirror_taiwan, + helix_extrude(shape_taiwan(80), radius = [r1, r2], levels = levels, level_dist = level_dist,