GCodeProcessor/GCodeViewer -> Extract bed shape from gcode files generated by PrusaSlicer
This commit is contained in:
parent
16e282110d
commit
9d4344a78c
3 changed files with 36 additions and 10 deletions
src/libslic3r/GCode
|
@ -356,6 +356,10 @@ void GCodeProcessor::apply_config(const DynamicPrintConfig& config)
|
|||
m_filament_diameters.push_back(static_cast<float>(diam));
|
||||
}
|
||||
}
|
||||
|
||||
const ConfigOptionPoints* bed_shape = config.option<ConfigOptionPoints>("bed_shape");
|
||||
if (bed_shape != nullptr)
|
||||
m_result.bed_shape = bed_shape->values;
|
||||
}
|
||||
|
||||
void GCodeProcessor::enable_stealth_time_estimator(bool enabled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue