Mesh: add exporter class for 3MF format

This commit is contained in:
wmayer
2022-08-31 17:11:15 +02:00
parent 580c124b22
commit 16c73780b9
4 changed files with 89 additions and 23 deletions

View File

@@ -267,11 +267,12 @@ private:
App::Application::Config()["BuildRevisionHash"];
exporter.reset( new ExporterAMF(outputFileName, meta, exportAmfCompressed) );
}
else if (exportFormat == MeshIO::ThreeMF) {
exporter.reset( new Exporter3MF(outputFileName) );
}
else if (exportFormat != MeshIO::Undefined) {
exporter.reset( new MergeExporter(outputFileName, exportFormat) );
}
else {
std::string exStr("Can't determine mesh format from file name: '");