SS port - Change extrusion role gcode (#2459)

implement custom gcode for when the extrusion role is changed

Co-authored-by: supermerill <merill@free.fr>
This commit is contained in:
Ocraftyone 2023-11-09 09:30:30 -05:00 committed by GitHub
parent 1b53d1b72d
commit 120a3576a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 66 additions and 1 deletions

View file

@ -205,6 +205,7 @@ public:
// inside the generated string and after the G-code export finishes.
std::string placeholder_parser_process(const std::string &name, const std::string &templ, unsigned int current_extruder_id, const DynamicConfig *config_override = nullptr);
bool enable_cooling_markers() const { return m_enable_cooling_markers; }
std::string extrusion_role_to_string_for_parser(const ExtrusionRole &);
// For Perl bindings, to be used exclusively by unit tests.
unsigned int layer_count() const { return m_layer_count; }