mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
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:
committed by
GitHub
parent
03d9dea12c
commit
eab86797dd
@@ -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){
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user