Clips a mesh based on local connectivity.
tubeclipper is for clipping a mesh while avoiding undesired cuts. Say we wanted to clip the dragon below, but only at its midsection -- clipping with a plane will cut through the head and other body sections. Instead, tubeclipper marks the mesh based on connectivity relative to the clipping point, as in the image below.
Requirements:
- numpy
- pyvista
- scipy
- networkx
Recent (16 11 21) changes probably broke the ability to clip volumes (unstructured grids) because I join and clean the "non-jagged" mesh sections as polydata. Consider checking type in future if not working as expected.

