mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 17:24:20 +02:00
updated doc
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@@ -32,10 +32,10 @@ When using this module, you should use points to represent the 2D shape. If your
|
||||
p4 = [30, 50, -3];
|
||||
|
||||
shape_pts = [
|
||||
[10, 0],
|
||||
[15, 10],
|
||||
[18, 9],
|
||||
[20, 0]
|
||||
[5, -5],
|
||||
[3, 4],
|
||||
[0, 5],
|
||||
[-5, -5]
|
||||
];
|
||||
|
||||
path_pts = bezier_curve(t_step,
|
||||
@@ -62,15 +62,15 @@ When using this module, you should use points to represent the 2D shape. If your
|
||||
|
||||
shape_pts = [
|
||||
// outer
|
||||
[10, 0],
|
||||
[15, 10],
|
||||
[18, 9],
|
||||
[20, 0],
|
||||
[18, 9],
|
||||
[15, 10],
|
||||
[10, 0],
|
||||
// inner
|
||||
[12, 2],
|
||||
[15, 7],
|
||||
[18, 2],
|
||||
[17, 7],
|
||||
[18, 2]
|
||||
[15, 7],
|
||||
[12, 2]
|
||||
];
|
||||
|
||||
path_pts = bezier_curve(t_step,
|
||||
@@ -92,18 +92,18 @@ When using this module, you should use points to represent the 2D shape. If your
|
||||
p0 = [0, 0, 0];
|
||||
p1 = [40, 60, 35];
|
||||
p2 = [-50, 70, 0];
|
||||
p3 = [20, 150, -35];
|
||||
p4 = [30, 50, -3];
|
||||
p3 = [20, 150, -5];
|
||||
p4 = [50, 50, -3];
|
||||
|
||||
shape_pts = [
|
||||
// outer
|
||||
[10, 0],
|
||||
[15, 10],
|
||||
[30, 0],
|
||||
[15, 10],
|
||||
[10, 0],
|
||||
// inner
|
||||
[12, 1],
|
||||
[15, 8],
|
||||
[26, 1],
|
||||
[15, 8],
|
||||
[12, 1]
|
||||
];
|
||||
|
||||
path_pts = bezier_curve(t_step,
|
||||
@@ -114,12 +114,12 @@ When using this module, you should use points to represent the 2D shape. If your
|
||||
shape_pts,
|
||||
path_pts,
|
||||
triangles = [
|
||||
[0, 3, 4],
|
||||
[0, 4, 1],
|
||||
[1, 4, 5],
|
||||
[1, 5, 2],
|
||||
[2, 5, 3],
|
||||
[2, 3, 0]
|
||||
[0, 4, 3],
|
||||
[0, 1, 4],
|
||||
[1, 5, 4],
|
||||
[1, 2, 5],
|
||||
[2, 3, 5],
|
||||
[2, 0, 3]
|
||||
]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user