MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / main

Function main

Scripts/clean_meshes.py:472–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

470
471
472def main():
473 if len(sys.argv) < 2:
474 print("Error: No XML file specified")
475 print("Usage: python clean_meshes_trimesh.py <path_to_xml>")
476 print('Example: python clean_meshes_trimesh.py "C:/mujoco_menagerie/franka_emika_panda/panda.xml"')
477 return
478
479 xml_path = Path(sys.argv[1])
480
481 if xml_path.suffix.lower() == ".xml":
482 process_xml(xml_path)
483 else:
484 print(f"Error: Expected an .xml file, got '{xml_path.suffix}'")
485 print("Usage: python clean_meshes_trimesh.py <path_to_xml>")
486
487
488if __name__ == "__main__":

Callers 1

clean_meshes.pyFile · 0.70

Calls 1

process_xmlFunction · 0.85

Tested by

no test coverage detected