trimesh.exchange.threedxml module¶
threedxml.py¶
Load 3DXML files, a scene format from Dassault products like Solidworks, Abaqus, Catia
- trimesh.exchange.threedxml.load_3DXML(file_obj, *args, **kwargs)¶
Load a 3DXML scene into kwargs. 3DXML is a CAD format that can be exported from Solidworks
- Parameters:
file_obj (file object) – Open and containing 3DXML data
- Returns:
kwargs – Can be passed to trimesh.exchange.load.load_kwargs
- Return type:
dict
- trimesh.exchange.threedxml.print_element(element)¶
Pretty-print an lxml.etree element.
- Parameters:
element (etree element)