1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
dotSCAD/docs/lib3x-polyhedron_hull.md
2022-06-06 13:11:46 +08:00

25 lines
431 B
Markdown

# polyhedron_hull
Create a convex polyhedron by hulling a list of points. It avoids using `hull` and small 3D primitives to create the polyhedron.
**Since:** 2.5
## Parameters
- `points` : A list of 3D points.
## Examples
use <polyhedron_hull.scad>
polyhedron_hull([
[1, 1, 1],
[1, 1, 0],
[-1, 1, 0],
[-1, -1, 0],
[1, -1, 0],
[0, 0, 1],
[0, 0, -1]
]);
![polyhedron_hull](images/lib3x-polyhedron_hull-1.JPG)