# Draw Strand Tool

You can choose to create strands by using the Draw Strand Tool. It's a tool that builds on top of the Maya dynWire context, and using the [strand-presets](https://nobraintools.gitbook.io/maya-groomers-tool/maya-tools/hair-strand-builders/strand-presets "mention")that you already have, you can now **draw strands directly** in the scene.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2Fe50Z1saT3tjfnEdE0yo4%2Fimage.png?alt=media&#x26;token=eccc09a8-900d-4689-b2b5-a0c0d06e2faf" alt=""><figcaption></figcaption></figure>

## Creation

* Like all Maya Paint FX tools, a mesh will require UV and frozen transforms to work properly. Select a mesh and click on "Create UV" button will do this automatically for you.

{% hint style="info" %}
If you do not want your mesh to be tinkered around, duplicate it and then use that as the PFX mesh.
{% endhint %}

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2F4JnlTmUSzgOkSp7UM9wb%2Fpaint_create_UV_on_basemesh.gif?alt=media&#x26;token=ac55cf4d-9c76-4668-97cd-f68512d108f2" alt=""><figcaption></figcaption></figure>

* Select a layer from the "Into Layer" option menu. If you do not have a layer yet, you will need to create one first.
* Then choose a [strand-presets](https://nobraintools.gitbook.io/maya-groomers-tool/maya-tools/hair-strand-builders/strand-presets "mention") in the field below, and click on Paint.
* While in the paint brush, holding down Maya's default hot key "**B**" will allow you to adjust the brush size. The brush size will determine the scale of the strand.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FB9f2U5tnaSsoZNh3FZcX%2Fpaint_create_UV_create.gif?alt=media&#x26;token=97eac413-0b98-4a59-aab9-0b85462a5862" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
A newly created strand will apply all the settings from a strand preset. This includes Aim Mode, UVs, Creases (for tubes).&#x20;
{% endhint %}

* When you have multiple layers available, you can swap between them by selecting them in the Into Layer option menu.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FJzZ7FPNG8KsMExFeg0ms%2Fpaint_create_UV_layers.gif?alt=media&#x26;token=57900944-477f-4061-92ff-abfbfeae1ccc" alt=""><figcaption></figcaption></figure>

### **Draw at Depth**

* When "Draw at Depth" is **On** - Strokes can go outside of the PFX Mesh.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FoTwrGEx7t7V3di2OgYWC%2Fpfx_draw_default.gif?alt=media&#x26;token=4d5f499e-d830-4094-9da1-869fe25a2c43" alt=""><figcaption></figcaption></figure>

When "Draw at Depth" is **Off**- Strokes will **hug** on the PFX Mesh.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FuCpPea2OdjbKzwgQn6CG%2Fpfx_draw_default_depth_off.gif?alt=media&#x26;token=e17c2aaa-d1f0-46c1-be4c-ea207b08a2e2" alt=""><figcaption></figcaption></figure>

### **Auto Orient (Card Only)**

* Automatically orient the drawn cards to the defined PFX mesh. The orient function will take the sample distance % from the Scene Preset .&#x20;
* Menu > Set Scene Presets > Orient Sample Distance %. [#orient-sample-distance-card-only](https://nobraintools.gitbook.io/maya-groomers-tool/maya-tools/scene-presets#orient-sample-distance-card-only "mention")

### **Spans**

* The curve spans of the drawn hair tube. Set this higher if you know your hair strand will be more complex, you can always set this number lower in the Strand Editor afterward.

### **Smooth**

* When on, performs an auto smoothing on drawn hair strands

## Undo

While I try to make things as user friendly as possible, Maya and its dynWire context has an issue where undoing the entire stroke isn't possible.&#x20;

* To undo a stroke, please exit the tool, by pressing down "W", "E", or "R", hit CTRL + Z to undo.
* You will see a black tube (that's the residue from Maya's dynWire context). Just hit CTRL+Z again.
* To re-enter the tool, you can use the "G" key to quickly do so.

<figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FxzXqtziNddMetC30ECx3%2Fpaint_create_UV_Undo.gif?alt=media&#x26;token=e28c2f45-7d37-44a8-86a8-43f056802d31" alt=""><figcaption></figcaption></figure>
