mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
WIP: Plater
This commit is contained in:
parent
746d06fe3e
commit
342b584399
18 changed files with 1104 additions and 43 deletions
|
@ -61,7 +61,7 @@ class ModelObject
|
|||
friend class Model;
|
||||
public:
|
||||
std::string name;
|
||||
std::string input_file;
|
||||
std::string input_file; // XXX: consider fs::path
|
||||
// Instances of this ModelObject. Each instance defines a shift on the print bed, rotation around the Z axis and a uniform scaling.
|
||||
// Instances are owned by this ModelObject.
|
||||
ModelInstancePtrs instances;
|
||||
|
@ -336,6 +336,7 @@ public:
|
|||
void swap(Model &other);
|
||||
~Model() { this->clear_objects(); this->clear_materials(); }
|
||||
|
||||
// XXX: use fs::path ?
|
||||
static Model read_from_file(const std::string &input_file, DynamicPrintConfig *config = nullptr, bool add_default_instances = true);
|
||||
static Model read_from_archive(const std::string &input_file, DynamicPrintConfig *config, bool add_default_instances = true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue