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

Function parse_args

scripts/refine_mesh.py:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import numpy as np
9
10def parse_args():
11 parser = argparse.ArgumentParser(__doc__);
12 parser.add_argument("--max-edge-length", "-l", type=float,
13 help="maximum edge length", default=1.0);
14 parser.add_argument("input_mesh");
15 parser.add_argument("output_mesh");
16 return parser.parse_args();
17
18def main():
19 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected