The most general form of an extrusion. Requires first a control curve for orientation, for example the center of a torus or a vector that simply never runs parallel to the spine. Second, the spine of the extrusion, and third the shape to be extruded.
The +Y axis of the shape will be oriented toward the control curve.
A tubular extrusion using taking a radius and a spine.