ENH: expor core spec 3mf

Change-Id: I97ccd87f29668833881b9327b251c2ca110ecd31
This commit is contained in:
chunmao.guo 2022-08-26 17:13:14 +08:00 committed by Lane.Wei
parent 29267b58d3
commit 0fa82b5e18
3 changed files with 12 additions and 0 deletions

View file

@ -8057,6 +8057,14 @@ void Plater::export_gcode_3mf()
}
}
void Plater::export_core_3mf()
{
wxString path = p->get_export_file(FT_3MF);
if (path.empty()) { return; }
const std::string path_u8 = into_u8(path);
export_3mf(path_u8, SaveStrategy::Silence);
}
void Plater::export_stl(bool extended, bool selection_only)
{
if (p->model.objects.empty()) { return; }