1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 02:10:28 +02:00

add polar_zonohedra

This commit is contained in:
Justin Lin
2021-12-03 09:30:06 +08:00
parent d822688eaf
commit e49c40e0f0
6 changed files with 35 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -0,0 +1,22 @@
# octahedron
Creates a [polar zonohedra](https://mathworld.wolfram.com/PolarZonohedron.html).
**Since:** 3.2
## Parameters
- `n` : n equal rhombs surrounding one vertex. (rotational symmetry)
- `theta` : the pitch angle of the edges.
## Examples
use <polyhedra/polar_zonohedra.scad>;
for(n = [3:8]) {
translate([0.5 * n * (n - 3), 0, 0])
polar_zonohedra(n);
}
![polar_zonohedra](images/lib3x-polyhedra_polar_zonohedra-1.JPG)