# Mesh.extrude_path demo sweep a profile along a 3D centerline. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` Demonstrates: - Mesh.extrude_path() generating a tube mesh from a polyline + circle profile - A curved track with a custom square profile (rail) - Default 8-sided circle profile and ad-hoc cross-section override Controls: Escape - Quit Run: uv run python examples/features/3d/extrude_path.py ## Source ```{literalinclude} ../../examples/features/3d/extrude_path.py :language: python :linenos: ```