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-03 08:04:28 +08:00
parent 3b2b07ae25
commit 9271c79a3a
4 changed files with 33 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,22 @@
# icosahedron
Creates a icosahedron.
**Since:** 3.2
## Parameters
- `radius` : Radius of the icosahedron.
- `detail` : Default to 0. Setting this to a value greater than 0 adds vertices making it no longer a icosahedron.
## Examples
use <polyhedra/icosahedron.scad>;
for(i = [0:5]) {
translate([i * 2, 0])
icosahedron(radius = 1, detail = i);
}
![icosahedron](images/lib3x-polyhedra_icosahedron-1.JPG)