Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tubeclipper

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.

Clipping with a plane: Before

Clipping with tubeclipper: After

Requirements:

  • numpy
  • pyvista
  • scipy
  • networkx

Notes

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.

About

Clip tubes while avoiding undesired cuts.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages