Enable absolute/relative extrusion option on non BBL printers (#205)

Add the option to use non-relative extrusion in printer config screen. Some extruders do not play well with relative extrusion...

Remove reference to multi-extruder

Remove reference to multi-extruder

change g-code comment for M83 relative extrusion

changed comment for M83

Remove commented line of code

In this specific case, we delete the old line of code because it refers to a variable that was deleted from the rest of the code (RELATIVE_E_AXIS)
This commit is contained in:
Patrice Côté 2023-01-24 00:02:52 -05:00 committed by GitHub
parent 594c22cde0
commit 5692e02c54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 43 additions and 30 deletions

View file

@ -152,7 +152,8 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
// SoftFever
"seam_gap",
"role_based_wipe_speed",
"wipe_speed"
"wipe_speed",
"use_relative_e_distances"
};
static std::unordered_set<std::string> steps_ignore;
@ -917,7 +918,10 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
// BBS: remove L()
return { ("Different nozzle diameters and different filament diameters is not allowed when prime tower is enabled.") };
}
if (! m_config.use_relative_e_distances)
return { ("The Wipe Tower is currently only supported with the relative extruder addressing (use_relative_e_distances=1).") };
if (m_config.ooze_prevention)
return { ("Ooze prevention is currently not supported with the prime tower enabled.") };
@ -1120,7 +1124,6 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
}
}
const ConfigOptionDef* bed_type_def = print_config_def.get("curr_bed_type");
assert(bed_type_def != nullptr);