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

23 lines
410 B
Markdown
Raw Normal View History

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