add fdm volumetric flow output caps

This commit is contained in:
Stewart Allen 2025-10-16 21:39:24 -04:00
commit a26b1d6bef
9 changed files with 48 additions and 20 deletions

View file

@ -127,16 +127,12 @@ async function redirectOr404(path) {
}
}
async function fromCacheOrNetwork(req, test) {
async function fromCacheOrNetwork(req) {
const cache = await caches.open(CACHE_VERSION);
const hit = await cache.match(req, { ignoreSearch: true });
if (hit) {
// log(`hit: ${req.url}`);
return hit;
}
if (test) {
return test;
}
const net = await fetch_safe(req);
cache.put(req, net.clone());
log(`put: ${net.url}`);

View file

@ -868,6 +868,8 @@ self.lang['en-us'] = {
ad_msol_l: ["minimum area (mm^2)","required to keep solid","must be > 0.1"],
ad_mins_s: "min speed",
ad_mins_l: ["minimum speed","for short segments"],
ad_maxf_s: "max flowrate",
ad_maxf_l: ["maximum volumetric flowrate supported by this print head and filament","in millimeters^3 / second"],
ad_scar_s: "scarf length",
ad_scar_l: ["ease up length for scarf joint. disables arc detection","0 = disabled"],
ad_spol_s: "short path",