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

Function parse_args

scripts/fix_mesh.py:88–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88def parse_args():
89 parser = argparse.ArgumentParser(
90 description=__doc__)
91 parser.add_argument("--timing", help="print timing info",
92 action="store_true")
93 parser.add_argument("--detail", help="level of detail to preserve",
94 choices=["low", "normal", "high"], default="normal")
95 parser.add_argument("in_mesh", help="input mesh")
96 parser.add_argument("out_mesh", help="output mesh")
97 return parser.parse_args()
98
99
100def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected