# Curve Clump/Repel

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

## Overview

Clumps selected curves with a curve ramp

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

**Curve Rebuild**

* **Spans:** Number of spans to rebuild the curve with. The default degree is 3. Using a spans of 5 will result in a curve with 8 CVs (3 degree + 5 spans)

**Clump Ramp/Repel**

* Choose whether to **clump** or **repel** curves.

**Ramp Control**

* **Reference:**&#x20;

  * **Center** - Uses the center of all selected curves as snapping target
  * **Last Curve** - Uses the last curve selected as snapping target
  * **Auto Rebuild/Match CVs** - Automatically rebuilds the selected curves so they have matching CV count before each clumping operation. If not on, please make sure the curves have same amount of CVs by using the Rebuild Button.

**Clump Mode**

<div align="center"><figure><img src="/files/aQBPAwlWUuWQ7wVDRx5i" alt=""><figcaption><p>Simply select curves and Clump Curves</p></figcaption></figure></div>

<div align="center"><figure><img src="/files/PogdS8zdX6d4h5FBjLvd" alt=""><figcaption><p>Use the ramp to control the strength of clump along curves</p></figcaption></figure></div>

* We can utilize the clump mode to snap more complicated curves as well

<figure><img src="/files/9YOHaY26lrnQHqaKWg16" alt=""><figcaption></figcaption></figure>

**Repel Mode**

* **Strength -** multiplier to the repel ramp. Default is 1, if you wish to repel the curves further away, increase this value.

<figure><img src="/files/8MNJHYyj1sK6dnPzSkzh" alt=""><figcaption></figcaption></figure>

***

**Pair Curves -** Pair curves for clumping. Example, if you have two groups of curve, and a set of curves are named with a consistant string (e.g. 'xgt'), you can use this to 'pair' up the curves based on their root positions.&#x20;

* Name To Filter: enter the name of curves as a set. (e.g. xgt).&#x20;
* Sort Curves: Runs a pairing procedure based on the name entered.


---

# 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-clump-repel.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.
