Or use Swp1 with PFrames aligned with Z vector (yellow group). This looks identical to the C# version, in top view and from every angle? It has an advantage in that each section can be rotated separately to create banked turns.
sweep1_roadlike_2024Jan3b.gh (13.9 KB)