Creates a 3D tube mesh around a centerline path using parallel transport frames for smooth geometry without twisting artifacts.
generate_tube_mesh(centerline, radius = 0.5, segments = 8)List with vertices (data.frame), faces (data.frame), and metadata
Matrix with N rows and 3 columns (x, y, z coordinates)
Tube radius. Either a single value or vector of length N.
Number of segments around tube circumference.