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

# Voxel Grid from Mesh

<CardGroup cols={2}>
  <Card title="Mesh, Scalar" href="#mesh-scalar" />

  <Card title="Mesh, Scalar, 1.1.0" href="#mesh-scalar-110" />

  <Card title="Mesh, Scalar, 1.2.0" href="#mesh-scalar-120" />
</CardGroup>

***

<h2 id="mesh-scalar">
  Mesh, Scalar
</h2>

Generates a voxel grid from a watertight surface mesh.

### Inputs

| Name       | Type                                                   | Description                                |
| ---------- | ------------------------------------------------------ | ------------------------------------------ |
| Mesh       | [Mesh](../../../../block-documentation/types/mesh)     | Surface mesh to convert into a voxel grid. |
| Voxel size | [Scalar](../../../../block-documentation/types/scalar) | Size of a voxel.                           |

### Outputs

| Type                                                           |
| -------------------------------------------------------------- |
| [Voxel Grid](../../../../block-documentation/types/voxel-grid) |

***

<h2 id="mesh-scalar-110">
  Mesh, Scalar, 1.1.0
</h2>

Generates a voxel grid from a watertight surface mesh.

### Inputs

| Name       | Type                                                   | Description                                |
| ---------- | ------------------------------------------------------ | ------------------------------------------ |
| Mesh       | [Mesh](../../../../block-documentation/types/mesh)     | Surface mesh to convert into a voxel grid. |
| Voxel size | [Scalar](../../../../block-documentation/types/scalar) | Size of a voxel.                           |

### Outputs

| Type                                                           |
| -------------------------------------------------------------- |
| [Voxel Grid](../../../../block-documentation/types/voxel-grid) |

***

<h2 id="mesh-scalar-120">
  Mesh, Scalar, 1.2.0
</h2>

Generates a voxel grid from a watertight surface mesh.

### Inputs

| Name       | Type                                                   | Description                                |
| ---------- | ------------------------------------------------------ | ------------------------------------------ |
| Mesh       | [Mesh](../../../../block-documentation/types/mesh)     | Surface mesh to convert into a voxel grid. |
| Voxel size | [Scalar](../../../../block-documentation/types/scalar) | Size of a voxel.                           |

### Outputs

| Type                                                           |
| -------------------------------------------------------------- |
| [Voxel Grid](../../../../block-documentation/types/voxel-grid) |
