mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 13:31:30 +02:00
add
This commit is contained in:
BIN
docs/images/lib-shape_starburst-1.JPG
Normal file
BIN
docs/images/lib-shape_starburst-1.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
docs/images/lib-shape_starburst-2.JPG
Normal file
BIN
docs/images/lib-shape_starburst-2.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
39
docs/lib-shape_starburst.md
Normal file
39
docs/lib-shape_starburst.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# shape_starburst
|
||||
|
||||
Returns shape points of a star. They can be used with xxx_extrude modules of dotSCAD. The shape points can be also used with the built-in polygon module.
|
||||
|
||||
## Parameters
|
||||
|
||||
- `r1` : The outer radius of the starburst.
|
||||
- `r2` : The inner radius of the starburst.
|
||||
- `n` : The number of vertices.
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
include <shape_starburst.scad>;
|
||||
|
||||
polygon(shape_starburst(30, 12, 6));
|
||||
|
||||

|
||||
|
||||
include <shape_starburst.scad>;
|
||||
include <circle_path.scad>;
|
||||
include <rotate_p.scad>;
|
||||
include <golden_spiral.scad>;
|
||||
include <cross_sections.scad>;
|
||||
include <polysections.scad>;
|
||||
include <golden_spiral_extrude.scad>;
|
||||
|
||||
shape_pts = shape_starburst(5, 2, 8);
|
||||
|
||||
golden_spiral_extrude(
|
||||
shape_pts,
|
||||
from = 5,
|
||||
to = 10,
|
||||
point_distance = 1,
|
||||
scale = 10
|
||||
);
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user