| 66 | } // anonymous namespace |
| 67 | |
| 68 | Expected<void> toModel3mf( const Mesh & mesh, const std::filesystem::path & file, const SaveSettings & settings ) |
| 69 | { |
| 70 | std::ofstream out( file, std::ofstream::binary ); |
| 71 | if ( !out ) |
| 72 | return unexpected( std::string( "Cannot open file for writing " ) + utf8string( file ) ); |
| 73 | |
| 74 | return toModel3mf( mesh, out, settings ); |
| 75 | } |
| 76 | |
| 77 | Expected<void> toModel3mf( const Mesh & mesh, std::ostream & out, const SaveSettings & settings ) |
| 78 | { |
no test coverage detected