Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-04-12 17:18:46 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-17 14:20:06 +0300
commit34b354810208fe39d8a8a0e244b5a77d81f35578 (patch)
tree42c5e25ca8bb411c7deb9d2117a10e6ec64410d5 /src/slic3r/GUI/Preset.hpp
parenta93e63e296e7041ee2ec8f16762623551bbd9025 (diff)
Filaments and materials selection/installation
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r--src/slic3r/GUI/Preset.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp
index e1efdc1ef..dfb72d495 100644
--- a/src/slic3r/GUI/Preset.hpp
+++ b/src/slic3r/GUI/Preset.hpp
@@ -71,9 +71,14 @@ public:
};
std::vector<PrinterModel> models;
+ std::set<std::string> default_filaments;
+ std::set<std::string> default_sla_materials;
+
VendorProfile() {}
VendorProfile(std::string id) : id(std::move(id)) {}
+ // Load VendorProfile from an ini file.
+ // If `load_all` is false, only the header with basic info (name, version, URLs) is loaded.
static VendorProfile from_ini(const boost::filesystem::path &path, bool load_all=true);
static VendorProfile from_ini(const boost::property_tree::ptree &tree, const boost::filesystem::path &path, bool load_all=true);