mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 12:30:33 +02:00
add doc
This commit is contained in:
BIN
docs/images/lib3x-polyhedra_superellipsoid-1.JPG
Normal file
BIN
docs/images/lib3x-polyhedra_superellipsoid-1.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
27
docs/lib3x-polyhedra_superellipsoid.md
Normal file
27
docs/lib3x-polyhedra_superellipsoid.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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]) {
|
||||
for(n = [0:step:4])
|
||||
translate([e / step, n / step] * 3)
|
||||
superellipsoid(e, n);
|
||||
}
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user