Mesh generation based on grayscale image using gh-python

Hello everyone,
I am trying to make a basic struucture of python component using grasshoper.
If you suggest some wonderful books or examples i would be thankful.
I am studying this example

Have you looked into anything to do with implicit or voxel representations?