> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/curve-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/curve-plus/components/spline/spiral-rail.md).

# Spiral Rail

Creates a spiral along a rail curve

## Description

Creates a spiral along a rail curve by pitch, turn count, and two radi

{% tabs %}
{% tab title="Preview" %}
![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FHe1heRpHJJvA9bsjt4xv%2FComponent-SpiralRail.png?alt=media\&token=093081c0-05b7-4667-ade5-c124c4a347d7)
{% endtab %}

{% tab title="Location" %}
**Name** | Spiral Rail

**Nickname** | SpiralRail

**Tab** | Curve

**Panel** | Spline

**Division** | 5
{% endtab %}

{% tab title="Inputs" %}
**C** | **Curve** (*Curve*) | The rail curve for the spiral

**T** | **Turns** (*Number*) | The number of turns in the spiral

**B** | **Base Radius** (*Number*) | Radius at the base of the spiral

**P** | **Peak Radius** (*Number*) | Radius at the peak of the spiral

**S** | **Sample Points** (*Integer*) | Number of sample points per turn
{% endtab %}

{% tab title="Outputs" %}
**S** | **Spiral** (*Curve*) | The spiral curve
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FNGkblbj1zMgXpn2BzORS%2FSpiralRail.gif?alt=media\&token=e6553f9c-105b-44a8-8386-c0de893ffd38)
