1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 09:44:16 +02:00

updated docs

This commit is contained in:
Justin Lin
2017-05-19 09:30:51 +08:00
parent 107b7716ed
commit d8eced7a40
5 changed files with 15 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -62,15 +62,15 @@ When using this module, you should use points to represent the 2D shape. If your
shape_pts = [ shape_pts = [
// outer // outer
[20, 0], [5, 0],
[18, 9], [3, 9],
[15, 10], [0, 10],
[10, 0], [-5, 0],
// inner // inner
[18, 2], [3, 2],
[17, 7], [2, 7],
[15, 7], [0, 7],
[12, 2] [-3, 2]
]; ];
path_pts = bezier_curve(t_step, path_pts = bezier_curve(t_step,
@@ -97,13 +97,13 @@ When using this module, you should use points to represent the 2D shape. If your
shape_pts = [ shape_pts = [
// outer // outer
[30, 0], [10, 0],
[15, 10], [-5, 10],
[10, 0], [-10, 0],
// inner // inner
[26, 1], [7, 1],
[15, 8], [-4, 8],
[12, 1] [-7, 1]
]; ];
path_pts = bezier_curve(t_step, path_pts = bezier_curve(t_step,

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; t_step = 0.05;
width = 2; width = 2;
shape_pts = shape_arc(radius = 10, angles = [90, 270], width = 5); shape_pts = shape_arc(radius = 10, angles = [180, 360], width = 5);
p0 = [0, 0, 0]; p0 = [0, 0, 0];
p1 = [40, 60, 35]; p1 = [40, 60, 35];