()
| 86 | |
| 87 | |
| 88 | def parse_args(): |
| 89 | parser = argparse.ArgumentParser( |
| 90 | description=__doc__) |
| 91 | parser.add_argument("--timing", help="print timing info", |
| 92 | action="store_true") |
| 93 | parser.add_argument("--detail", help="level of detail to preserve", |
| 94 | choices=["low", "normal", "high"], default="normal") |
| 95 | parser.add_argument("in_mesh", help="input mesh") |
| 96 | parser.add_argument("out_mesh", help="output mesh") |
| 97 | return parser.parse_args() |
| 98 | |
| 99 | |
| 100 | def main(): |