()
| 9 | import os.path |
| 10 | |
| 11 | def 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 | |
| 21 | def main(): |
| 22 | args = parse_args(); |