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

Function dump_info

scripts/meshstat.py:311–316  ·  view source on GitHub ↗
(mesh_file, info)

Source from the content-addressed store, hash-verified

309 return info;
310
311def 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
318def parse_args():
319 parser = argparse.ArgumentParser(description=__doc__);

Callers 2

mainFunction · 0.90
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected