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

Method mesh

python/pymesh/CSGTree.py:137–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135
136 @property
137 def mesh(self):
138 mesh = form_mesh(self.vertices, self.faces)
139 face_sources = self.tree.get_face_sources()
140 sources = self.tree.get_mesh_sources()
141 mesh.add_attribute("source_face")
142 mesh.set_attribute("source_face", face_sources)
143 mesh.add_attribute("source")
144 mesh.set_attribute("source", sources)
145 return mesh
146

Callers

nothing calls this directly

Calls 5

form_meshFunction · 0.85
get_face_sourcesMethod · 0.45
get_mesh_sourcesMethod · 0.45
add_attributeMethod · 0.45
set_attributeMethod · 0.45

Tested by

no test coverage detected