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

Function parse_args

scripts/extract_self_intersecting_faces.py:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 return intersecting_mesh;
25
26def parse_args():
27 parser = argparse.ArgumentParser(description=__doc__);
28 parser.add_argument("--selection", "-s", required=False, type=int,
29 default=None, help="Extract faces intersecting the selection");
30 parser.add_argument("input_mesh");
31 parser.add_argument("output_mesh");
32 return parser.parse_args();
33
34def main():
35 args = parse_args();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected