1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-01 18:54:39 +02:00
This commit is contained in:
Justin Lin
2021-10-28 08:04:26 +08:00
parent b76a2f9c32
commit 9022cb731d
10 changed files with 9 additions and 9 deletions

View File

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