mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
27 lines
441 B
Markdown
27 lines
441 B
Markdown
# 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;
|
|
|
|
for(e = [0:step:4], n = [0:step:4]) {
|
|
translate([e / step, n / step] * 3)
|
|
superellipsoid(e, n);
|
|
}
|
|
|
|
![superellipsoid](images/lib3x-polyhedra_superellipsoid-1.JPG)
|
|
|