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

Function parse_args

scripts/add_element_attribute.py:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 return escaped_name
64
65def parse_args():
66 parser = argparse.ArgumentParser(description=__doc__);
67 parser.add_argument("--name", help="attribute name");
68 parser.add_argument("--formula", help="formula to compute new attribute");
69 parser.add_argument("input_mesh", help="input mesh");
70 parser.add_argument("output_mesh", help="output mesh");
71 return parser.parse_args();
72
73def main():
74 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected