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

Function fromStep

source/MRIOExtras/MRStep.cpp:975–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973{
974
975Expected<Mesh> fromStep( const std::filesystem::path& path, const MeshLoadSettings& settings, const StepLoadSettings& stepSettings )
976{
977 return fromStepImpl( [&] ( STEPControl_Reader& reader )
978 {
979 return readFromFile( reader, path )
980#if !STEP_READER_FIXED
981 .and_then( [&] { return repairStepFile( reader ); } )
982#endif
983 ;
984 }, settings, stepSettings );
985}
986
987Expected<Mesh> fromStep( std::istream& in, const MeshLoadSettings& settings, const StepLoadSettings& stepSettings )
988{

Callers 1

MRStep.cppFile · 0.85

Calls 4

fromStepImplFunction · 0.85
readFromFileFunction · 0.85
repairStepFileFunction · 0.85
readFromStreamFunction · 0.70

Tested by

no test coverage detected