# Curve Clump/Repel

<div align="left"><figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FocAqLsHpKBitG5ypJ49m%2FxgtCurveClumpRepel_user.jpg?alt=media&#x26;token=fef53301-53f4-4610-ab50-fa9bc3fc5a7a" alt=""><figcaption></figcaption></figure></div>

## Overview

Clumps selected curves with a curve ramp

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FAgj9X5JZAxf9uU8s27uo%2Fimage.png?alt=media&#x26;token=dcec6a08-e723-4108-84c2-04f7e311e895" 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="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FGBKQcQ8c6XiqOJB1KbHS%2Fclump_1.gif?alt=media&#x26;token=e0505a91-c6a5-4a20-bf70-531d420ffec5" alt=""><figcaption><p>Simply select curves and Clump Curves</p></figcaption></figure></div>

<div align="center"><figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2F7qJKsiQDKsUmHvt7Fzz8%2Fclump_2.gif?alt=media&#x26;token=d150e2ce-ba0a-4618-81d9-8984a28370e5" 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="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FXLsuVlmRSQUeenAMWst5%2Fcoil_snap.gif?alt=media&#x26;token=18cd37fe-8542-4ff4-acb5-ea35f72fedb9" 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="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FNGGimOmxt7DrJoFVdmB4%2Frepel_1.gif?alt=media&#x26;token=4d1e9c1e-289f-4b56-9293-37c654f73ebd" 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.
