> For the complete documentation index, see [llms.txt](https://docs.procedural-anatomy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.procedural-anatomy.com/build-your-first-character/model-nodes/anatomy-muscle.md).

# Anatomy Muscle

Correct initial settings

Using the name and visibility controls

## Visualize

* Out Model - View the model or the collision model for the simulation.
* Group - Used to set selection.

## Shaping

* Subdivisions - Add extra detail to the muscle geometries
* Tangential Smooth - Smooth the underlying shape
* Envelope - Enable smoothing
* Step Size - Amount of smoothing

## SDF

* **Thickness** - Thickness of the skin, recommended to be a low value.
* **Resample Enable** - resample the SDF to be finer detail by smoothing it.
* **Scale** - Lowering this value creates more detail.
* **Size** - Raising this value creates more detail.

{% hint style="info" %}
Be careful about how much RAM you use!  You can sometimes double your usage with this.
{% endhint %}

### Expansion

**Samples** - how many increments we test to solve the muscle.  High samples will be more accurate.  Alternatively shorten projection distance.

**Iterations** - How many times we iterate the muscle solve, higher values will have an inflation effect to the muscles, lower will be faster to work with.

**Bias** - how close the muscles inflate to each other,&#x20;

**Projection Distance** - How far we test the muscles, usually should be between 0.1 - 1.0 for Human sized characters.  Might need to be bigger/smaller if your character is bigger/smaller.

**Threshold** - Limits expansion based on angle of the muscle versus the SDF gradient.

**Step Size** - Amount of smoothing.

### Self Intersections

**Samples** - Number of iterations to check self intersections on muscle geometry

**Threshold** - Limits expansion based on angle of the muscle versus the SDF gradient incorporated into the self intersection check.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.procedural-anatomy.com/build-your-first-character/model-nodes/anatomy-muscle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
