1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib3x-polyhedron_hull.md

25 lines
432 B
Markdown
Raw Normal View History

2020-12-13 09:51:18 +08:00
# polyhedron_hull
2020-12-14 13:37:52 +08:00
Create a convex polyhedron by hulling a list of points. It avoids using `hull` and small 3D primitives to create the polyhedron.
2020-12-13 09:51:18 +08:00
2020-12-13 09:58:20 +08:00
**Since:** 2.5
2020-12-13 09:51:18 +08:00
## 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]
]);
2021-02-19 11:24:34 +08:00
![polyhedron_hull](images/lib3x-polyhedron_hull-1.JPG)