Extract bed size from gcode produced with Simplify3d

This commit is contained in:
enricoturri1966 2021-03-25 09:23:14 +01:00
parent 3a5360651d
commit 68303059a6
2 changed files with 57 additions and 1 deletions

View file

@ -524,7 +524,6 @@ namespace Slic3r {
GCodeProcessor();
void apply_config(const PrintConfig& config);
void apply_config(const DynamicPrintConfig& config);
void enable_stealth_time_estimator(bool enabled);
bool is_stealth_time_estimator_enabled() const {
return m_time_processor.machines[static_cast<size_t>(PrintEstimatedTimeStatistics::ETimeMode::Stealth)].enabled;
@ -549,6 +548,8 @@ namespace Slic3r {
std::vector<float> get_layers_time(PrintEstimatedTimeStatistics::ETimeMode mode) const;
private:
void apply_config(const DynamicPrintConfig& config);
void apply_config_simplify3d(const std::string& filename);
void process_gcode_line(const GCodeReader::GCodeLine& line);
// Process tags embedded into comments