1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01: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 = [
// outer
[20, 0],
[18, 9],
[15, 10],
[10, 0],
[5, 0],
[3, 9],
[0, 10],
[-5, 0],
// inner
[18, 2],
[17, 7],
[15, 7],
[12, 2]
[3, 2],
[2, 7],
[0, 7],
[-3, 2]
];
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 = [
// outer
[30, 0],
[15, 10],
[10, 0],
[10, 0],
[-5, 10],
[-10, 0],
// inner
[26, 1],
[15, 8],
[12, 1]
[7, 1],
[-4, 8],
[-7, 1]
];
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;
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];
p1 = [40, 60, 35];