Is there a way to draw a line with the mouse and have it be the center of a 3D tube?

I started by wondering if this would be possible using parametric equations with `Make Parametric Grid Mesh`

.

In my googling, I’ve found related “bent tube” things like sweeping a spline, extruding, torus knots, or making a tunnel in a game.

Regarding proper bends, I guess this means having some way to calculate the tangent from point to point? I can’t quite imagine doing bends with parametric equations in `Make Parametric Grid Mesh`

, but this is where I am now. (I also want the radius to be dynamic for “blobby” or “liquid” like drawing, later).

It would be cool if `Make Tube`

(with its walls and caps) could somehow draw along a curve like this. Extrusion tools would also be cool (probably already a FR?). Also, I know @khenkel has the `Make Mesh with Values`

node, but that’s a couple more degrees away from my current skill set.

ParametricTube.vuo (5.65 KB)