# Curve Extract

<div align="left"><figure><img src="/files/kzclopSPzJqQEnUDkUvk" alt=""><figcaption></figcaption></figure></div>

## Overview

The Curve Extract tool offers a fast and effective method for extracting curves from geometry tubes, cards, or selected edges. As a Groom artist, we often need to work with proxy models. When these models are thoughtfully constructed as tubes or cards, the tool can significantly speed up your workflow. All Proxy/Geometry tools in Groomer's Tool, such as Curve to Proxy Tube, Curve to Proxy Card, Curve to Proxy Twist, Hair Tube Builder, and the Braid Tool, generate geometries that is compatible and can be extracted using the Curve Extract tool.

<figure><img src="/files/LNHsBC5EmA5lHYFQoSN0" alt=""><figcaption></figcaption></figure>

The curve extract tool allows extraction from:

* Tubes - polygons tubes (open ends) and are quads in equal rows/column alignment.
* Cards - polygons cards that are flat and are quads in fairly equal rows/column alignment.
* Edges - edgeloops of selected edges.

***

{% embed url="<https://youtu.be/aNfVlzGE9Ug>" fullWidth="false" %}
Extract From Tubes/Cards demo video
{% endembed %}

{% embed url="<https://youtu.be/aI99wrwNkc4>" %}
Scatter Fill Update 0:0 - 0:54 &#x20;
{% endembed %}

{% hint style="success" %}
A safety measure to check for the geometry type has been added in V.15.0 +. The tool will first check to see if a geometry is a tube or card before doing anything. This will greatly reduce the chances of freezing your machine when accidentally selecting the wrong type of geometries.
{% endhint %}

## Tubes

#### **Extract Type**

* Custom
  * CV Count: Define a custom CV count to the length of the curve extracted
  * \# of Curves:  Define number of curves to be extracted
* Geo Topology
  * Number of CV count per curve and number of curves extracted will be based on the geo topology
  * Retain Curvature - Only available with Topology mode. When checked, it will keep the curvature from poly tubes.&#x20;
    * Example: when extracting from a twisty twist (from the Twist Tool), use this mode to keep the extracted curves from smoothing.
* Geo Center
  * ​Extract a curve from the average center of the tube.
* Volume Fill
  * **​**Fills each selected tubes with layers of curves.
* Scatter Fill
  * Fills each selected tubes with curves in even spaced fashion.

## **Cards**

#### **Method**

* SubDiv: Will work on all card geometry. However, in **Custom, Geo Topology, and Sides mode,** the 'corners' will be rounded and the side edges will be shrunk. This is due to the subdivision process.&#x20;
* Traverse: Use this option to retain the edges/corners. However, depending on your card geometry, this method will not always extract successfully. In those cases, use **SubDiv** method instead.&#x20;

#### **Extract Type**

* Custom
  * CV Count: Define a custom CV count to the length of the curve extracted
  * \# of Curves:  Define number of curves to be extracted
* Geo Topology
  * Number of CV count per curve and number of curves extracted will be based on the geo topology
* Geo Center
  * ​Extract a curve from the average center of selected card(s)
* Sides
  * ​Extract the side curves from selected card(s)

***

**Hide Mesh**&#x20;

* Enabling this option hides the mesh after the extraction

**Flip Direction**

* If the U and V directions on a surface are incorrect, the extracted curve may form a loop. Use the 'Flip Direction' option and extract again.

{% hint style="info" %}
You can hit the repeat key (default Maya 'G' key) to repeat the extraction.
{% endhint %}

***

## Edges ​

{% hint style="warning" %}
If the selected edge is on a geometry border, it will extract the entire loop.
{% endhint %}

{% embed url="<https://youtu.be/msk22_CTKfM>" %}
Extract from edges demo video
{% endembed %}

* Select multiple 'single' edges on geometry to extract edgeloops.
* For example, you can select the edge rings and batch extract the edgeloops.

<figure><img src="/files/0S17YYnCnOgaZFJxAAoj" alt=""><figcaption></figcaption></figure>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nobraintools.gitbook.io/maya-groomers-tool/maya-tools/curve-extract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
