2019-05-20 11:01:57 +08:00
|
|
|
# starburst
|
|
|
|
|
2019-05-20 15:12:03 +08:00
|
|
|
A 3D version of `shape_starburst`.
|
2019-05-20 11:01:57 +08:00
|
|
|
|
2021-02-20 20:25:58 +08:00
|
|
|
**Since:** 1.2
|
2019-05-20 14:21:59 +08:00
|
|
|
|
2019-05-20 11:01:57 +08:00
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `r1` : The outer radius of the starburst.
|
|
|
|
- `r2` : The inner radius of the starburst.
|
|
|
|
- `n` : The number of vertices.
|
|
|
|
- `height` : The height of the starburst.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-06-06 13:11:46 +08:00
|
|
|
use <starburst.scad>
|
2019-05-20 11:01:57 +08:00
|
|
|
|
|
|
|
starburst(10, 5, 5, 5);
|
|
|
|
translate([20, 0, 0]) starburst(10, 5, 6, 5);
|
|
|
|
translate([40, 0, 0]) starburst(10, 5, 12, 10);
|
|
|
|
translate([60, 0, 0]) starburst(10, 5, 4, 3);
|
|
|
|
|
2021-02-20 20:25:58 +08:00
|
|
|
![starburst](images/lib3x-starburst-1.JPG)
|
2019-05-20 11:01:57 +08:00
|
|
|
|