ENH: support export multiple model objects as stl under CLI

Change-Id: Ib6cb68624d111971dc763901f3a8414673d9a546
This commit is contained in:
lane.wei
2023-06-07 15:06:48 +08:00
committed by Lane.Wei
parent 2ccf0a84d8
commit 6968eb5d82
3 changed files with 61 additions and 14 deletions

View File

@@ -46,6 +46,7 @@ private:
bool has_print_action() const { return m_config.opt_bool("export_gcode") || m_config.opt_bool("export_sla"); }
std::string output_filepath(const Model &model, IO::ExportFormat format) const;
std::string output_filepath(const ModelObject &object, unsigned int index, IO::ExportFormat format) const;
};
}