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

Function parse_args

scripts/quad_to_tri.py:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import numpy as np
7
8def parse_args():
9 parser = argparse.ArgumentParser(description=__doc__);
10 parser.add_argument("--keep-symmetry", "-s", action="store_true",
11 help="Whether to split quad symmetrically");
12 parser.add_argument("input_mesh", help="input quad mesh");
13 parser.add_argument("output_mesh", help="output triangle mesh");
14 return parser.parse_args();
15
16def main():
17 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected