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

Function print_edge_info

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

Source from the content-addressed store, hash-verified

101 info["total_{}".format(name)] = total;
102
103def print_edge_info(mesh, info):
104 if (mesh.num_faces == 0): return;
105 mesh.add_attribute("edge_length");
106 edge_length = mesh.get_attribute("edge_length");
107 quantile_breakdown(edge_length, "edge_length", info,
108 title = "Edge Length", with_total=False);
109
110def print_face_info(mesh, info):
111 if (mesh.num_faces == 0): return;

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