mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 01:34:12 +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];
|
p4 = [30, 50, -3];
|
||||||
|
|
||||||
shape_pts = [
|
shape_pts = [
|
||||||
[10, 0],
|
[5, -5],
|
||||||
[15, 10],
|
[3, 4],
|
||||||
[18, 9],
|
[0, 5],
|
||||||
[20, 0]
|
[-5, -5]
|
||||||
];
|
];
|
||||||
|
|
||||||
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. If your
|
|||||||
|
|
||||||
shape_pts = [
|
shape_pts = [
|
||||||
// outer
|
// outer
|
||||||
[10, 0],
|
|
||||||
[15, 10],
|
|
||||||
[18, 9],
|
|
||||||
[20, 0],
|
[20, 0],
|
||||||
|
[18, 9],
|
||||||
|
[15, 10],
|
||||||
|
[10, 0],
|
||||||
// inner
|
// inner
|
||||||
[12, 2],
|
[18, 2],
|
||||||
[15, 7],
|
|
||||||
[17, 7],
|
[17, 7],
|
||||||
[18, 2]
|
[15, 7],
|
||||||
|
[12, 2]
|
||||||
];
|
];
|
||||||
|
|
||||||
path_pts = bezier_curve(t_step,
|
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];
|
p0 = [0, 0, 0];
|
||||||
p1 = [40, 60, 35];
|
p1 = [40, 60, 35];
|
||||||
p2 = [-50, 70, 0];
|
p2 = [-50, 70, 0];
|
||||||
p3 = [20, 150, -35];
|
p3 = [20, 150, -5];
|
||||||
p4 = [30, 50, -3];
|
p4 = [50, 50, -3];
|
||||||
|
|
||||||
shape_pts = [
|
shape_pts = [
|
||||||
// outer
|
// outer
|
||||||
[10, 0],
|
|
||||||
[15, 10],
|
|
||||||
[30, 0],
|
[30, 0],
|
||||||
|
[15, 10],
|
||||||
|
[10, 0],
|
||||||
// inner
|
// inner
|
||||||
[12, 1],
|
|
||||||
[15, 8],
|
|
||||||
[26, 1],
|
[26, 1],
|
||||||
|
[15, 8],
|
||||||
|
[12, 1]
|
||||||
];
|
];
|
||||||
|
|
||||||
path_pts = bezier_curve(t_step,
|
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,
|
shape_pts,
|
||||||
path_pts,
|
path_pts,
|
||||||
triangles = [
|
triangles = [
|
||||||
[0, 3, 4],
|
[0, 4, 3],
|
||||||
[0, 4, 1],
|
[0, 1, 4],
|
||||||
[1, 4, 5],
|
[1, 5, 4],
|
||||||
[1, 5, 2],
|
[1, 2, 5],
|
||||||
[2, 5, 3],
|
[2, 3, 5],
|
||||||
[2, 3, 0]
|
[2, 0, 3]
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user