e5ed7b547e
Interactive re-mode (re.html) plus a local case server implementing the ppt-master handshake: the human selects faces / draws regions / labels intent on the original STEP, the browser composes a submission with server-side entity context, and a waiting agent reconstructs per the existing reconstruction contract and writes artifacts the UI polls back. - viewer/server (stdlib-only): STEP -> synthesized Scene 2.0 projection (GLB + entity sidecars, same shape as package scenes), region resolve (centroid projection + front-facing filter), entity descriptors, atomic submissions, ndjson side recording, --daemon/--wait/--wait-only/ --shutdown CLI with lockfile and 590s budget - viewer/src: extract shared cad-three/entity-facts modules (main.ts now consumes them), new SceneView class (assembly/picking/highlight) reused by both studio viewports - re-mode UI: annotation canvas (circle/lasso), intent palette, context preview, submit flow, rebuilt v3 package loading, comparison image, feature tree, evaluation tab - governance: only the browser writes submission.json; UI never edits geometry — code stays the single source of truth - tests: 6 server tests (scene contract, region math, submission context + named failures, wait handshake exit codes, HTTP endpoints)
2 lines
88 B
Python
2 lines
88 B
Python
"""Viewer package marker so ``python -m viewer.server`` resolves from the repo root."""
|