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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user