MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / waitForGetCombinedFilteredModels

Function waitForGetCombinedFilteredModels

renderer.js:12479–12488  ·  view source on GitHub ↗
(maxWait = 5000)

Source from the content-addressed store, hash-verified

12477 await window.electron.addMultipleThumbnails(model.filePath, validImages);
12478 saved3mfEmbedsViaBatch = true;
12479 console.log(
12480 `[DEBUG] generateThumbnailsForModels: SUCCESS - Saved ${validImages.length} embedded image(s) for ${model.filePath}`
12481 );
12482 } else {
12483 console.log(`[DEBUG] generateThumbnailsForModels: Invalid image format for ${model.filePath}`);
12484 }
12485 } else {
12486 console.log(`[DEBUG] generateThumbnailsForModels: No embedded thumbnail found for ${model.filePath}. Falling back to 3D rendering.`);
12487 }
12488 } catch (embeddedError) {
12489 console.error(`Error extracting embedded image from 3MF: ${model.filePath}`, embeddedError);
12490 }
12491 }

Callers 2

renderer.jsFile · 0.85
handleFilterChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected