Relax flushing volume thresholds for printers needing higher purge. (#11778)

* Relax flushing volume thresholds for printers needing higher purge.

* Revert multiplier UI color handling
This commit is contained in:
Ioannis Giannakas
2026-01-05 22:41:04 +00:00
committed by GitHub
parent 03d9dea12c
commit eab86797dd
2 changed files with 5 additions and 3 deletions

View File

@@ -432,10 +432,11 @@
return (0.299 * r + 0.587 * g + 0.114 * b) / 255;
}
function updateVolumeRange(min_volume,max_volume){
// Orca: "Typical" guidance only unlinked from upper bound in the slicer.
const TYPICAL_MAX_FLUSH_VOLUME = 900;
const panel = document.getElementById('volume_range_panel');
panel.innerText = panel.innerText.replace(/\[.*\]/, `[${min_volume}, ${max_volume}]`);
panel.innerText = panel.innerText.replace(/\[.*\]/, `[${min_volume}, ${TYPICAL_MAX_FLUSH_VOLUME}]`);
}
function updateMultiplierRange(min_multiplier,max_multiplier){

View File

@@ -10,7 +10,8 @@ namespace Slic3r {
const int g_min_flush_volume_from_support = 700;
const int g_flush_volume_to_support = 230;
const int g_max_flush_volume = 900;
const int g_max_flush_volume = 20000; //Orca: increase limit to 20k vs 900 in upstream BBS code.
// Retain a clamp to guard against extreme values entered in the UI
static float to_radians(float degree)
{