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

Function parse_args

scripts/outer_hull.py:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import os.path
10
11def parse_args():
12 parser = argparse.ArgumentParser(description=__doc__);
13 parser.add_argument("--engine", choices=["auto", "igl"], default="auto");
14 parser.add_argument("--recursive", "-R",
15 help="Recursively peel all outer hull layers",
16 default=None, action="store_true");
17 parser.add_argument("input_mesh", help="input mesh");
18 parser.add_argument("output_mesh", help="output mesh");
19 return parser.parse_args();
20
21def main():
22 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected