(mesh_file, info)
| 309 | return info; |
| 310 | |
| 311 | def dump_info(mesh_file, info): |
| 312 | basename, ext = os.path.splitext(mesh_file); |
| 313 | info_file = basename + ".info"; |
| 314 | |
| 315 | with open(info_file, 'w') as fout: |
| 316 | json.dump(info, fout, indent=4, sort_keys=True); |
| 317 | |
| 318 | def parse_args(): |
| 319 | parser = argparse.ArgumentParser(description=__doc__); |