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

Function main

scripts/add_attribute.py:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 mesh.add_attribute(name);
21
22def main():
23 args = parse_args();
24 mesh = pymesh.load_mesh(args.input_mesh);
25 add_attribute(mesh, args.attribute_name);
26 pymesh.save_mesh(args.output_mesh, mesh, args.attribute_name);
27 pymesh.timethis.summarize();
28
29if __name__ == "__main__":
30 main();

Callers 1

add_attribute.pyFile · 0.70

Calls 5

add_attributeFunction · 0.85
summarizeMethod · 0.80
parse_argsFunction · 0.70
load_meshMethod · 0.45
save_meshMethod · 0.45

Tested by

no test coverage detected