MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / add_attribute

Method add_attribute

python/pymesh/Mesh.py:63–66  ·  view source on GitHub ↗

Add an attribute to mesh.

(self, name)

Source from the content-addressed store, hash-verified

61 self.__mesh = raw_mesh
62
63 def add_attribute(self, name):
64 """ Add an attribute to mesh.
65 """
66 self.__mesh.add_attribute(name)
67
68 def has_attribute(self, name):
69 """ Check if an attribute exists.

Callers 14

cut_meshFunction · 0.95
partition_into_cellsFunction · 0.45
extract_submesh_surfaceFunction · 0.45
extract_submesh_volumeFunction · 0.45
signed_distance_to_meshFunction · 0.45
booleanFunction · 0.45
__add_attributeMethod · 0.45
convex_hullFunction · 0.45
extract_layerFunction · 0.45
meshMethod · 0.45
map_vertex_attributeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected