Mesh: fixes issue #10075: 3MF files exported from FreeCAD don't work in PrusaSlicer

Add an option to force to always write a mesh as model type even if it's not a solid
This commit is contained in:
wmayer
2023-08-30 16:55:21 +02:00
committed by wwmayer
parent 9583c1c0cb
commit 2a65715248
7 changed files with 78 additions and 21 deletions

View File

@@ -300,6 +300,11 @@ bool Exporter3MF::addMesh(const char *name, const MeshObject & mesh)
return ok;
}
void Exporter3MF::setForceModel(bool model)
{
d->writer3mf.SetForceModel(model);
}
void Exporter3MF::write()
{
d->writer3mf.Save();