Skip to content

MatthewFlamm/pyransame

Repository files navigation

pyransame

PYthon RAndom SAmpling for MEshes

Documentation

Utilities for choosing random samples of points within cells of PyVista meshes. This package does not choose random points that define the mesh itself, rather random points on the 1D line, 2D surface or in the 3D volume are sampled.

Random sampling on a 2D surface

Samples on a bunny

Random sampling in a 3D volume

Samples inside a 3D volume