> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/graph/cage-deformer/generate-cage.md).

# 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.                         |
