The Meshmapper class

class pylife.mesh.Meshmapper(pandas_obj)[source]

Mapper to map points of one mesh to another

Notes

The accessed DataFrame needs to be accessible by a PlainMesh.

process(from_df, value_key, method='linear')[source]

Performs the mapping

Parameters:

from_df (pandas.DataFrame accessible by a PlainMesh.) – The DataFrame that is to be mapped to the accessed one. Needs to have the same dimensions (2D or 3D) as the accessed one