1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-13 02:31:58 +02:00

updated docs

This commit is contained in:
Justin Lin 2017-05-17 11:12:03 +08:00
parent 143a8e6c06
commit 93166cb1e4
3 changed files with 4 additions and 5 deletions

View File

@ -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];

View File

@ -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)

View File

@ -41,14 +41,12 @@ Returns shape points of [Taiwan](https://www.google.com.tw/maps?q=taiwan&um=1&ie
include <polysections.scad>;
include <helix_extrude.scad>;
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,