1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00
This commit is contained in:
Justin Lin
2021-11-01 08:10:17 +08:00
parent 10930e8b1c
commit 29da8be872
4 changed files with 33 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,22 @@
# 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
use <polyhedra/dodecahedron.scad>;
for(i = [0:5]) {
translate([i * 2, 0])
dodecahedron(radius = 1, detail = i);
}
![dodecahedron](images/lib3x-polyhedra_dodecahedron-1.JPG)