| 973 | { |
| 974 | |
| 975 | Expected<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 | |
| 987 | Expected<Mesh> fromStep( std::istream& in, const MeshLoadSettings& settings, const StepLoadSettings& stepSettings ) |
| 988 | { |
no test coverage detected