Modelstore embedded Layerling build, 13 November 2026.
Original copyright and AGPL-3.0-only license are retained. Modified source files are listed in MODELSTORE-FORK.json.
Build on Node.js 24: npm ci --ignore-scripts; node scripts/build-static-export.mjs. Serve apps/web/.next-export as a static site. The store hosts this at /layerling/ with root aliases for /_next/, /occt/, /assets/, /fonts/ and guide folders; the host adapter below documents those paths.
The embedding parent sends {type:'modelstore:export',requestId} from the same origin. The active editor replies with {type:'modelstore:model',requestId,name,model:ArrayBuffer,preview:dataURL} or modelstore:error. modelstore:editor-ready/closed signal availability. Prints use the complete current scene, preserving the original local export tools. No account credentials are sent to the editor.
