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:
Diffstat (limited to 'src/libslic3r/PlaceholderParser.hpp')
-rw-r--r--src/libslic3r/PlaceholderParser.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libslic3r/PlaceholderParser.hpp b/src/libslic3r/PlaceholderParser.hpp
index ae6ef8f02..f0867443e 100644
--- a/src/libslic3r/PlaceholderParser.hpp
+++ b/src/libslic3r/PlaceholderParser.hpp
@@ -62,7 +62,14 @@ public:
// Update timestamp, year, month, day, hour, minute, second variables at m_config.
void update_timestamp() { update_timestamp(m_config); }
+ // set custom variables
+ void parse_custom_variables(const ConfigOptionString& custom_variables);
+ void parse_custom_variables(const ConfigOptionStrings& filament_custom_variables);
+
+
private:
+ void append_custom_variables(std::map<std::string, std::vector<std::string>> name2var_array, int nb_extruders);
+
// config has a higher priority than external_config when looking up a symbol.
DynamicConfig m_config;
const DynamicConfig *m_external_config;