Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/**
* Only source/geometry diagnostics should spend another model call on repair.
* Capacity, timeout, integrity, spawn, and storage failures need an operational
* retry instead of asking the model to rewrite otherwise valid CAD.
*/
export function isRepairableScadCompileError(error: unknown): boolean {
const message = error instanceof Error ? error.message : String(error);
const infrastructureFailure = /(?:renderer is busy|queue wait exceeded|timed out|integrity check|ENOENT|EACCES|spawn|capacity|output exceeded)/i;
if (infrastructureFailure.test(message)) return false;
return /(?:parser error|syntax error|CGAL|applyHull|convex_hull|top level object is empty|produced an empty STL|cannot resolve external libraries|does not support external files or fonts|SCAD source exceeds)/i.test(message);
}
e934a3ad8This file is pinned to the selected release. Download the original to open it in your design tool.