Clearly some won’t include the origin, but the problem you trying so solve in general is finding the Convex Hull:
https://en.wikipedia.org/wiki/Convex_hull
in a 3d space. This can be done with scipy.
from scipy.spatial import ConvexHull
hull = ConvexHull
(triangles = hull.simplices)