Skip to main content

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 Generate a randomized list of points inside a volume mesh.

Inputs

NameTypeDescription
Volume meshVolume MeshVolume mesh to distribute random points inside of.
Point countIntegerNumber of points to distribute inside the volume mesh.
Relaxation iterationsIntegerNumber of iterations to evenly distribute the points on the mesh.
Random seedIntegerSeed value to generate randomness.
Spatial weightingScalar FieldAn optional input to control the spacing of the generated points.

Outputs