> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Warp Cell Map to Body

## About this Block

**What it does:** The **Warp Cell Map to Body** beta block warps a Cell Map to an Implicit Body’s inner surface by warping the Cell Map's outer layer of vertices to conform to the surface.  A maximum of one layer of cells outside of the body’s volume is a good starting point. The block is designed to conform an entire Cell Map to an Implicit Body. Conforming only a partial section of the Cell Map is not supported.

**Common uses:**

* Used as input to the **Periodic Lattice** block when you require a conformal volume lattice with no trimmed or partial unit cells.

**Tips:**

* If your Cell Map contains many cells outside of the Implicit Body, first use the **Trim Cell Map** block to reduce the number of cells.
* If you see a self-intersection warning, try using a different Fill Type in the **Trim Cell Map** block or changing your cell map generation parameters.
* If the warning persists, or if the alternate Fill Type does not produce a desirable result, you can still create a lattice using the self-intersecting Cell Map.

## Example File

Download Example: [Warp Cell Map to Body](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/warp_cellmap_body.ntop)
![Example Screenshot](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/Warp_Cell_Map_Body.png)

***

Warps the Cell Map to the Target Body's surface to achieve a conformal structure.
The resulting cells will be warped to achieve conformality. To avoid large distortions, provide a Cell Map that is trimmed to the body with Trim Cell Map.

### Inputs

| Name     | Type                                                                 | Description                                   |
| -------- | -------------------------------------------------------------------- | --------------------------------------------- |
| Body     | [Implicit Body](../../../../block-documentation/types/implicit-body) | Implicit Body target for the warped Cell Map. |
| Cell map | [Cell Map](../../../../block-documentation/types/cell-map)           | Cell Map to be warped.                        |

### Outputs

| Type                                                       |
| ---------------------------------------------------------- |
| [Cell Map](../../../../block-documentation/types/cell-map) |
