()
| 9 | import pymesh |
| 10 | |
| 11 | def parse_args(): |
| 12 | parser = argparse.ArgumentParser(description=__doc__); |
| 13 | parser.add_argument("--dual", "-d", help="Use the dual graph", |
| 14 | action="store_true"); |
| 15 | parser.add_argument("mesh_file", help="input mesh file"); |
| 16 | parser.add_argument("wire_file", help="output wire file"); |
| 17 | return parser.parse_args(); |
| 18 | |
| 19 | def main(): |
| 20 | args = parse_args(); |