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
- 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
Generate a randomized list of points inside a volume mesh.
Inputs
| Name | Type | Description |
|---|---|---|
| Volume mesh | Volume Mesh | Volume mesh to distribute random points inside of. |
| Point count | Integer | Number of points to distribute inside the volume mesh. |
| Relaxation iterations | Integer | Number of iterations to evenly distribute the points on the mesh. |
| Random seed | Integer | Seed value to generate randomness. |
| Spatial weighting | Scalar Field | An optional input to control the spacing of the generated points. |
Outputs
| Type |
|---|
| Point List |

