> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Conic Section Sweep

## About this Block

**What it does:** The **Conic Section Sweep** block creates a swept conic section between two rail curves (Rail 1 and Rail 2), using the Spine curve as the origin. The resulting geometry extends beyond the rail curves along the tangents of the spine.
![Conic Section Sweep](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/conic_sweep.png)
![Conic](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/conic.png)

**Common uses:**

* Designing aerodynamic profiles for wings, fuselages, and other vehicle bodies.
* Modeling smooth transitions in components like ducts, inlets, and nozzles to manage fluid flow.
* Creating architectural features like arches and curved facades.

**Tips:**

* It is recommended that you use **Boolean Intersect** block to create closed surfaces.
* It is recommended to avoid steep angles between the rail curves and the spine to avoid unexpected shelling and offset results downstream. A threshold of 45-60 degrees is a good rule of thumb.
  ![Steep Angle](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/sweep_angle.png)
* For advanced applications, you can change the Rho value to define the curve's shape via a Ramp block to vary the shape spatially.

<div>
  <figure class="wysiwyg-table">
    <table class="wysiwyg-table-resized">
      <colgroup>
        <col style="width: 21%;" />

        <col style="width: 34%;" />

        <col style="width: 45%;" />
      </colgroup>

      <tbody>
        <tr>
          <td>
            <span><strong>Rho Value</strong></span>
          </td>

          <td>
            <span><strong>Resulting Curve Type</strong></span>
          </td>

          <td>
            <span><strong>Example</strong></span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho\<0.5</span>
          </td>

          <td>
            <span>Ellipse</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/ellipse.png" width="265" height="177" />
              </span>
            </span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho=0.5</span>
          </td>

          <td>
            <span>Parabola</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/parabola.png" width="265" height="177" />
              </span>
            </span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho>0.5</span>
          </td>

          <td>
            <span>Hyperbola</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/hyperbola.png" width="265" height="157" />
              </span>
            </span>
          </td>
        </tr>
      </tbody>
    </table>
  </figure>
</div>

* If you encounter errors while using this block, please check the following conditions:
* Rails Perpendicular to the Spine: Rails cannot be perpendicular to the spine at any point. An error stating "Rays from the axis along the specified direction must intersect the curves only once" indicates this condition.
* Closed Rail Curves: Rail 1 and Rail 2 cannot be closed curves. If you receive an error regarding closed rails, please replace them with open curves.
* Curve Intersections: An error regarding "improperly configured inputs" often indicates that the geometry is self-intersecting relative to the axis. Please ensure that rays projected from the axis along the specified direction intersect the curve only once.

## Example File

Download Example: [Lofting by Section Sweep](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/lofting_section_sweep.ntop)

***

Creates an implicit body by sweeping a conic section along a spine curve between two rail curves, where the conic shape is controlled by a spatially-varying Rho field. The Rho parameter defines the conic shape factor at each point along the sweep (0.5 for parabolic, \<0.5 for elliptical, >0.5 for hyperbolic sections), allowing smooth transitions between different conic types.

### Inputs

| Name   | Type                                                               | Description                                                                                                                                                                                                         |
| ------ | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rail 1 | [Curve](../../../../block-documentation/types/curve)               | The first boundary curve that guides and constrains one side of the swept conic section as it travels along the spine.                                                                                              |
| Rail 2 | [Curve](../../../../block-documentation/types/curve)               | The second boundary curve that guides and constrains the opposite side of the swept conic section as it travels along the spine.                                                                                    |
| Spine  | [Line](../../../../block-documentation/types/line)                 | A line that defines the sweep path and orientation for the conic section as it moves between the two rail curves.                                                                                                   |
| Rho    | [Scalar Field](../../../../block-documentation/types/scalar-field) | A scalar field (0 to 1) that controls the conic shape factor at each point, where 0.5 produces a parabola, values less than 0.5 create elliptical sections, and values greater than 0.5 create hyperbolic sections. |

### Outputs

| Type                                                                 |
| -------------------------------------------------------------------- |
| [Implicit Body](../../../../block-documentation/types/implicit-body) |
