MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / loadSceneFromStp

Function loadSceneFromStp

source/MRIOExtras/MRStep.cpp:1068–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066}
1067
1068Expected<LoadedObject> loadSceneFromStp( const std::filesystem::path& path, const ProgressCallback& progressCb )
1069{
1070 return fromSceneStepFile( path, { .callback = ProgressCallback{ progressCb } } ).and_then(
1071 []( ObjectPtr && obj ) -> Expected<LoadedObject> { return LoadedObject{ .obj = std::move( obj ) }; } );
1072}
1073
1074MR_ADD_SCENE_LOADER( IOFilter( "STEP model (.step,.stp)", "*.step;*.stp" ), loadSceneFromStp )
1075

Callers

nothing calls this directly

Calls 1

fromSceneStepFileFunction · 0.85

Tested by

no test coverage detected