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

Function print_face_info

scripts/meshstat.py:110–114  ·  view source on GitHub ↗
(mesh, info)

Source from the content-addressed store, hash-verified

108 title = "Edge Length", with_total=False);
109
110def print_face_info(mesh, info):
111 if (mesh.num_faces == 0): return;
112 mesh.add_attribute("face_area");
113 face_areas = mesh.get_attribute("face_area");
114 quantile_breakdown(face_areas, "area", info);
115
116def print_quantile_info(mesh, info):
117 mesh.add_attribute("vertex_valance");

Callers 1

mainFunction · 0.85

Calls 3

quantile_breakdownFunction · 0.85
add_attributeMethod · 0.45
get_attributeMethod · 0.45

Tested by

no test coverage detected