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

27 lines
442 B
Markdown
Raw Normal View History

2021-10-28 08:20:03 +08:00
# superellipsoid
Creates a [superellipsoid](https://en.wikipedia.org/wiki/Superellipsoid).
**Since:** 3.2
## Parameters
- `e` : The east-west parameter.
- `n` : The north-south parameter.
## Examples
use <polyhedra/superellipsoid.scad>;
$fn = 24;
step = 0.5;
2022-04-06 17:44:11 +08:00
for(e = [0:step:4], n = [0:step:4]) {
translate([e / step, n / step] * 3)
2021-10-28 08:20:03 +08:00
superellipsoid(e, n);
}
![superellipsoid](images/lib3x-polyhedra_superellipsoid-1.JPG)