mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 06:47:46 +02:00
updated docs
This commit is contained in:
@@ -27,7 +27,7 @@ Returns shape points of an arc shape. They can be used with xxx_extrude modules
|
|||||||
t_step = 0.05;
|
t_step = 0.05;
|
||||||
width = 2;
|
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];
|
p0 = [0, 0, 0];
|
||||||
p1 = [40, 60, 35];
|
p1 = [40, 60, 35];
|
||||||
|
@@ -32,7 +32,8 @@ Returns shape points of an ellipse. They can be used with xxx_extrude modules of
|
|||||||
helix_extrude(shape_pts,
|
helix_extrude(shape_pts,
|
||||||
radius = 40,
|
radius = 40,
|
||||||
levels = 5,
|
levels = 5,
|
||||||
level_dist = 20
|
level_dist = 20,
|
||||||
|
rt_dir = "CLK"
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
||||||
|
@@ -41,14 +41,12 @@ Returns shape points of [Taiwan](https://www.google.com.tw/maps?q=taiwan&um=1&ie
|
|||||||
include <polysections.scad>;
|
include <polysections.scad>;
|
||||||
include <helix_extrude.scad>;
|
include <helix_extrude.scad>;
|
||||||
|
|
||||||
mirror_taiwan = [for(pt = shape_taiwan(80)) [pt[0] * -1, pt[1]]];
|
|
||||||
|
|
||||||
r1 = 15;
|
r1 = 15;
|
||||||
r2 = 100;
|
r2 = 100;
|
||||||
levels = 3;
|
levels = 3;
|
||||||
level_dist = 50;
|
level_dist = 50;
|
||||||
|
|
||||||
helix_extrude(mirror_taiwan,
|
helix_extrude(shape_taiwan(80),
|
||||||
radius = [r1, r2],
|
radius = [r1, r2],
|
||||||
levels = levels,
|
levels = levels,
|
||||||
level_dist = level_dist,
|
level_dist = level_dist,
|
||||||
|
Reference in New Issue
Block a user