Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 653 Bytes

user_defined_mesh_attributes.rst

File metadata and controls

18 lines (11 loc) · 653 Bytes

User Defined Mesh Attributes

This example shows how to create new user defined attributes that can be associated to vertices or faces of a Mesh, using the define_new_per_vertex_attribute filter. These attributes can be then extracted and saved in a numpy.array.

This script can be executed by running the following command:

pytest --pyargs pymeshlab -k 'user_defined_mesh_attributes'

tests/example_user_defined_mesh_attributes.py