1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-polyhedra_star.md

25 lines
448 B
Markdown
Raw Normal View History

2021-11-07 16:01:53 +08:00
# star
Create a star. Default to a pentagram.
**Since:** 3.2
## Parameters
- `outer_radius`: The outer radius of the star. Default to 1.
- `inner_radius`: The inner radius of the star. Default to 0.381966.
- `height`: The star height. Default to 0.5.
- `n`: The burst number. Default to 5.
## Examples
2022-06-06 13:11:46 +08:00
use <polyhedra/star.scad>
2021-11-07 16:01:53 +08:00
for(i = [3:6]) {
translate([(i - 3) * 2, 0])
star(n = i);
}
![star](images/lib3x-polyhedra_star-1.JPG)