trimesh.exchange.cascade module¶
- trimesh.exchange.cascade.load_step(file_obj: BinaryIO, file_type, tol_linear: float | floating | int | integer | unsignedinteger | None = None, tol_angular: float | floating | int | integer | unsignedinteger | None = None, tol_relative: bool | None = False, merge_primitives: bool = True, **kwargs) dict ¶
Use cascadio a packaged version of OpenCASCADE to load a STEP file using GLB as an intermediate.
- Parameters:
file_obj – STEP file to load.
**kwargs – Passed to cascadio.step_to_glb
- Returns:
Keyword arguments for a Scene.
- Return type:
kwargs