trimesh.exchange.openctm
- trimesh.exchange.openctm.load_ctm(file_obj, file_type=None, **kwargs)
Load OpenCTM files from a file object.
- Parameters
file_obj (open file- like object) –
- Returns
loaded –
- kwargs for a Trimesh constructor:
- {vertices: (n,3) float, vertices
faces: (m,3) int, indexes of vertices}
- Return type
dict