# Generate Cage

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

```
/**
 * Node that generates a cage mesh for deformation.
 * 
 * Creates a low-resolution control cage around the input mesh
 * for use with cage-based deformation.
 * 
 * Usage:
 * 1. Connect mesh input
 * 2. Configure cage density and smoothing
 * 3. Click Apply to generate cage
 */
```

| Parameter                                          | Description                                                                                |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| <p>Density</p><p><code>float</code></p>            | Controls the density of the generated cage mesh; higher values create more detailed cages. |
| <p>SmoothStrength</p><p><code>float</code></p>     | Determines the strength of the smoothing applied to the cage mesh.                         |
| <p>SmoothIterations</p><p><code>integer</code></p> | Number of smoothing iterations to apply to the cage mesh.                                  |
| <p>BoundingBoxOffset</p><p><code>float</code></p>  | Offset distance to expand the bounding box around the target mesh.                         |


---

# 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://docs.meshmorpher.com/graph/cage-deformer/generate-cage.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.
