Ported config load / stored to C++, thanks @alexrj

Implemented import of config values from the G-code.
This commit is contained in:
bubnikv 2017-06-14 17:51:14 +02:00
parent c61e098066
commit 93dce7a2d3
7 changed files with 192 additions and 35 deletions

View file

@ -38,6 +38,9 @@
void normalize();
%name{setenv} void setenv_();
double min_object_distance();
%name{_load} void load(std::string file);
%name{_load_from_gcode} void load_from_gcode(std::string file);
%name{_save} void save(std::string file);
};
%name{Slic3r::Config::Static} class StaticPrintConfig {
@ -84,6 +87,9 @@
%};
%name{setenv} void setenv_();
double min_object_distance();
%name{_load} void load(std::string file);
%name{_load_from_gcode} void load_from_gcode(std::string file);
%name{_save} void save(std::string file);
};
%package{Slic3r::Config};