Source: factory.core/ObjDocument3D.py
| Method | Signature | Description |
|---|---|---|
| load_mesh | load_mesh(file_path: str) -> trimesh.Trimesh |
Load a 3D mesh file (STL/OBJ/PLY/OFF). |
| generate_preview | generate_preview(mesh: trimesh.Trimesh, output_path: str, figure_size: int = 10, face_alpha: float = 0.8, edge_color: str = 'k', face_color: list | None = None, show_axes: bool = True) -> bool |
Generate a 3D preview image from a mesh object. |