> 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/nodes/model-nodes/anatomy-muscle.md).

# Anatomy Muscle

The Muscle node creates the geometry muscle shapes as well as collision meshes for them.

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.procedural-anatomy.com/nodes/model-nodes/anatomy-muscle.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
