The CPU code behind the shape.tube node: it takes the node's inputs and returns the mesh as a procgen Geometry (proc.substrate.fromArrays). The node's README lists the inputs.
shape.tube
proc.substrate.fromArrays