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

Method set_attribute

python/pymesh/wires/WireNetwork.py:253–257  ·  view source on GitHub ↗

Set the value of the attribute ``name`` to be ``value``.

(self, name, value)

Source from the content-addressed store, hash-verified

251 return self.raw_wires.is_vertex_attribute(name)
252
253 def set_attribute(self, name, value):
254 """ Set the value of the attribute ``name`` to be ``value``.
255 """
256 assert(self.has_attribute(name))
257 self.raw_wires.set_attribute(name, value)
258
259 def get_vertex_neighbors(self, i):
260 """ Returns a list of vertex indices which are connected to vertex ``i``

Callers 15

quad_to_triFunction · 0.45
subdivideFunction · 0.45
separate_meshFunction · 0.45
is_vertex_manifoldFunction · 0.45
is_edge_manifoldFunction · 0.45
collapse_short_edgesFunction · 0.45
hex_to_tetFunction · 0.45
merge_meshesFunction · 0.45
generate_box_meshFunction · 0.45

Calls 1

has_attributeMethod · 0.95