1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +02:00

updated doc

This commit is contained in:
Justin Lin
2017-05-09 14:47:21 +08:00
parent 0f5153f642
commit ab4db666da

View File

@@ -32,10 +32,10 @@ When using this module, you should use points to represent the 2D shape. You nee
p4 = [30, 50, -3]; p4 = [30, 50, -3];
shape_pts = [ shape_pts = [
[10, 0, 0], [10, 0],
[15, 10, 0], [15, 10],
[18, 9, 0], [18, 9],
[20, 0, 0] [20, 0]
]; ];
path_pts = bezier_curve(t_step, path_pts = bezier_curve(t_step,
@@ -62,15 +62,15 @@ When using this module, you should use points to represent the 2D shape. You nee
shape_pts = [ shape_pts = [
// outer // outer
[10, 0, 0], [10, 0],
[15, 10, 0], [15, 10],
[18, 9, 0], [18, 9],
[20, 0, 0], [20, 0],
// inner // inner
[12, 2, 0], [12, 2],
[15, 7, 0], [15, 7],
[17, 7, 0], [17, 7],
[18, 2, 0] [18, 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. You nee
shape_pts = [ shape_pts = [
// outer // outer
[10, 0, 0], [10, 0],
[15, 10, 0], [15, 10],
[30, 0, 0], [30, 0],
// inner // inner
[12, 1, 0], [12, 1],
[15, 8, 0], [15, 8],
[26, 1, 0], [26, 1],
]; ];
path_pts = bezier_curve(t_step, path_pts = bezier_curve(t_step,