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

23 lines
426 B
Markdown
Raw Normal View History

2021-11-01 08:10:17 +08:00
# dodecahedron
Creates a dodecahedron.
**Since:** 3.2
## Parameters
- `radius` : Radius of the dodecahedron.
- `detail` : Default to 0. Setting this to a value greater than 0 adds vertices making it no longer a dodecahedron.
## Examples
2022-06-06 13:11:46 +08:00
use <polyhedra/dodecahedron.scad>
2021-11-01 08:10:17 +08:00
for(i = [0:5]) {
translate([i * 2, 0])
dodecahedron(radius = 1, detail = i);
}
![dodecahedron](images/lib3x-polyhedra_dodecahedron-1.JPG)