mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 22:37:35 +02:00
changed default value
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Extrudes a 2D shape along the path of a golden spiral.
|
Extrudes a 2D shape along the path of a golden spiral.
|
||||||
|
|
||||||
When using this module, you should use points to represent the 2D shape. You need to provide indexes of triangles, too. This module provides two prepared triangles indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details.
|
When using this module, you should use points to represent the 2D shape. If your 2D shape is not solid, indexes of triangles are required. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details.
|
||||||
|
|
||||||
Dependencies: `circle_path`, `rotate_p`, `golden_spiral`, `cross_sections`, `polysections`.
|
Dependencies: `circle_path`, `rotate_p`, `golden_spiral`, `cross_sections`, `polysections`.
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ Dependencies: `circle_path`, `rotate_p`, `golden_spiral`, `cross_sections`, `pol
|
|||||||
- `rt_dir` : `"CT_CLK"` for counterclockwise. `"CLK"` for clockwise. The default value is `"CT_CLK"`.
|
- `rt_dir` : `"CT_CLK"` for counterclockwise. `"CLK"` for clockwise. The default value is `"CT_CLK"`.
|
||||||
- `twist` : The number of degrees of through which the shape is extruded.
|
- `twist` : The number of degrees of through which the shape is extruded.
|
||||||
- `scale` : Scales the 2D shape by this value over the length of the extrusion. Scale can be a scalar or a vector.
|
- `scale` : Scales the 2D shape by this value over the length of the extrusion. Scale can be a scalar or a vector.
|
||||||
- `triangles` : `"RADIAL"` (default), `"HOLLOW"`, `"TAPE"` or user-defined indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details.
|
- `triangles` : `"SOLID"` (default), `"HOLLOW"` or user-defined indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
module golden_spiral_extrude(shape_pts, from, to, point_distance,
|
module golden_spiral_extrude(shape_pts, from, to, point_distance,
|
||||||
rt_dir = "CT_CLK", twist = 0, scale = 1.0, triangles = "RADIAL") {
|
rt_dir = "CT_CLK", twist = 0, scale = 1.0, triangles = "SOLID") {
|
||||||
|
|
||||||
pts_angles = golden_spiral(
|
pts_angles = golden_spiral(
|
||||||
from = from,
|
from = from,
|
||||||
|
Reference in New Issue
Block a user