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

# Random Points in Volume Mesh

## About this Block

**What it does:** The **Random Points in Volume Mesh** block generates a randomly generated point list within the volume of the volume mesh. The number of points specified by the point count are placed throughout the volume mesh.

**Common uses:**

* Creating points to use for lattice generation

**Tips:**

* These points will be more evenly spread with a higher relaxation iteration value. The placement of points can be changed by changing the random seed.
* Spatial weighting can be driven, often by a Ramp block, to control the spacing of the points.

## Example File

![Random Points in Volume Mesh](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/RandomPointsinVolumeMesh.jpg)

***

Generate a randomized list of points inside a volume mesh.

### Inputs

| Name                  | Type                                                               | Description                                                       |
| --------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------- |
| Volume mesh           | [Volume Mesh](../../../../block-documentation/types/volume-mesh)   | Volume mesh to distribute random points inside of.                |
| Point count           | [Integer](../../../../block-documentation/types/integer)           | Number of points to distribute inside the volume mesh.            |
| Relaxation iterations | [Integer](../../../../block-documentation/types/integer)           | Number of iterations to evenly distribute the points on the mesh. |
| Random seed           | [Integer](../../../../block-documentation/types/integer)           | Seed value to generate randomness.                                |
| Spatial weighting     | [Scalar Field](../../../../block-documentation/types/scalar-field) | An optional input to control the spacing of the generated points. |

### Outputs

| Type                                                      |
| --------------------------------------------------------- |
| [Point List](../../../../block-documentation/types/point) |
