I am plotting the convex hull of some curves by extracting the curves from a contour plot and constructing the convex hull around their discretized version . It's not terribly accurate for calculations but it works well for a quick visualization.
Here's a simple example.
curve = ContourPlot3D[{((x - 0.5)^2 + (y - 0.5)^2 + (z -
0.5)^2) ((x + 0.5)^2 + (y + 0.5)^2 + (z + 0.5)^2) == 2,
x^2 + y^2 + z^2 == 1}, {x, -1.1, 1.1}, {y, -1.1, 1.1},
{z, -1.1, 1.1}, ContourStyle -> None, Mesh -> 0,
BoundaryStyle -> {1 -> None, 2 -> None, {1, 2} -> {Blue, Thickness[0.015]}},
PlotPoints -> 30];
hull = ConvexHullMesh@MeshCoordinates@Quiet@DiscretizeGraphics@First@Normal@curve;
Show[curve,hull]
The result is a convex hull with a mesh of all the polygons:
Can I turn this into an object that I can display a normal, coordinate-based mesh on? Something like this
that would work for any convex hull.
I want to do this because the convex hull mesh is ugly, but if I remove it it becomes difficult to see where a convex hull bends, where it's round etc.
hull["Graphics3D"]
? $\endgroup$