How to create point cloud data from mesh?

there are some nice options for meshing / remeshing.
but not sure if @DanielPiker did ever expose it nicely in rhinocommon.

have a look at this topic.