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

Function parse_args

scripts/mesh_to_wire.py:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import pymesh
10
11def parse_args():
12 parser = argparse.ArgumentParser(description=__doc__);
13 parser.add_argument("--dual", "-d", help="Use the dual graph",
14 action="store_true");
15 parser.add_argument("mesh_file", help="input mesh file");
16 parser.add_argument("wire_file", help="output wire file");
17 return parser.parse_args();
18
19def main():
20 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected