Add dual canvas XYZBC and refined machine visualization

This commit is contained in:
2026-09-10 05:47:14 +08:00
parent d90933b980
commit 17887c199a
15 changed files with 935 additions and 92 deletions

View File

@@ -214,6 +214,18 @@ export async function loadSimulationCase({ path, fetchImpl = globalThis.fetch, b
queue.push(candidate);
}
}
// The XYZAC Vismach executable is the authoritative geometry contract for
// the Web renderer. It is not referenced as a normal INI resource, so
// resolve it explicitly and carry it through the Worker configuration for
// source hashing and model provenance.
if (catalog.path === "linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/xyzac-trt.ini") {
const visualSource = "linuxcnc/src/hal/user_comps/vismach/xyzac-trt-gui.py";
if (!(visualSource in files)) {
const content = await fetchText(fetchImpl, baseUrl, visualSource);
if (content === null) missing.push(visualSource);
else { files[visualSource] = content; fetched.push(visualSource); }
}
}
const fixture = RUNTIME_FIXTURES[catalog.path];
if (fixture) {
if (!inManifest(fixture.generated_hal)) missing.push(fixture.generated_hal);