update to 3.0
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
@@ -43,7 +43,7 @@ When having uniform cross sections, you can use [sweep](https://openhome.cc/eGos
|
||||
);
|
||||
}
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
@@ -22,4 +22,4 @@ Create a convex polyhedron by hulling a list of points. It avoids using `hull` a
|
||||
[0, 0, -1]
|
||||
]);
|
||||
|
||||

|
||||

|
@@ -5,7 +5,7 @@ Creates a polyline from a list of `[x, y, z]` coordinates.
|
||||
## Parameters
|
||||
|
||||
- `points` : The list of `[x, y, z]` points of the polyline. The points are indexed from 0 to n-1.
|
||||
- `thickness` : The line thickness.
|
||||
- `diameter` : The line diameter.
|
||||
- `startingStyle` : The end-cap style of the starting point. The value must be `"CAP_BUTT"`, `"CAP_CIRCLE"` or `"CAP_SPHERE"`. The default value is `"CAP_CIRCLE"`.
|
||||
- `endingStyle` : The end-cap style of the ending point. The value must be `"CAP_BUTT"`, `"CAP_CIRCLE"` or `"CAP_SPHERE"`. The default value is `"CAP_CIRCLE"`.
|
||||
- `$fa`, `$fs`, `$fn` : Used by the `circle` or `sphere` module internally. Check [the circle module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#circle) or [the sphere module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#sphere) for more details. The final fragments of a circle will be a multiple of 4 to fit edges if possible.
|
||||
@@ -21,11 +21,11 @@ Creates a polyline from a list of `[x, y, z]` coordinates.
|
||||
[-5, 3, 3],
|
||||
[5, 5, 4]
|
||||
],
|
||||
thickness = 1,
|
||||
diameter = 1,
|
||||
$fn = 24
|
||||
);
|
||||
|
||||

|
||||

|
||||
|
||||
use <polyline3d.scad>;
|
||||
|
||||
@@ -36,12 +36,12 @@ Creates a polyline from a list of `[x, y, z]` coordinates.
|
||||
[-5, 3, 3],
|
||||
[5, 5, 4]
|
||||
],
|
||||
thickness = 1,
|
||||
diameter = 1,
|
||||
endingStyle = "CAP_SPHERE",
|
||||
$fn = 24
|
||||
);
|
||||
|
||||

|
||||

|
||||
|
||||
use <polyline3d.scad>;
|
||||
|
||||
@@ -52,13 +52,13 @@ Creates a polyline from a list of `[x, y, z]` coordinates.
|
||||
[-5, 3, 3],
|
||||
[5, 5, 4]
|
||||
],
|
||||
thickness = 1,
|
||||
diameter = 1,
|
||||
startingStyle = "CAP_SPHERE",
|
||||
endingStyle = "CAP_SPHERE",
|
||||
$fn = 24
|
||||
);
|
||||
|
||||

|
||||

|
||||
|
||||
use <polyline3d.scad>;
|
||||
|
||||
@@ -71,6 +71,6 @@ Creates a polyline from a list of `[x, y, z]` coordinates.
|
||||
for(a = [0:fa:360 * circles])
|
||||
[r * cos(a), r * sin(a), h / (360 / fa) * (a / fa)]
|
||||
];
|
||||
polyline3d(points, thickness = 1, $fn = 24);
|
||||
polyline3d(points, diameter = 1, $fn = 24);
|
||||
|
||||

|
||||

|