Commit Graph

6 Commits

Author SHA1 Message Date
zio
6be091aa7c feat(m2): V61 measured trench seed for K1 halls 1-5 from CAD
Owner directive 2026-07-15: seed real trench coordinates.

- tools/cad/extract_trench_seed.py: deterministic generator - extracts trench
  channels from CAD layer 5-tranchi (spelling differs from expected), merges
  paired channel edges into centerlines, emits supply points every 6m
- Measured layout (identical across halls 1-5, cross-validating band alignment):
  7 horizontal channels per hall, 9.0m pitch, y=5.85..59.8m local,
  extent x[20.6..170.2]m
- V61: delete assumed grid points for H1-H5, insert 875 measured points
  (is_assumed=false); supply flags keep V5 policy; K2 stays assumed (no trench
  layer in its plan drawing - power trunk drawing analysis is follow-up)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 06:45:32 +09:00
zio
832ab7f8a9 feat(m2): K2 halls 6-10 DWG underlays - DWG tab complete for all 10 halls
Owner directive 2026-07-15: render exhibition center 2 and complete the DWG tab.

- fast_render.py: --rotate/--center options (align tilted halls axis-straight);
  slim-DXF workflow notes (K2 plan 106MB DXF, basement xref/detail layers dropped)
- Hall geometry measured programmatically (long-line angle clusters) and verified
  visually: H6 -12deg 60x93, H7/H8 axis-aligned 90x126 stacked (block exactly
  252m = 2x126, floor width exactly 90m), H9 -11deg / H10 +11deg 99x132
- public/media/floorplans/dwg/hall6..10.png: floor+3m crops, calibration stays
  deterministic (same margin formula as K1)
- hallFloorplan.ts: DWG_HALL_DIMS extended to all 10 halls (rotation noted)
- docs/analysis/cad-extraction.md: K2 section with confirmed coordinates table

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 02:32:58 +09:00
zio
d8ef5c53df feat(m2): DWG/JPG floorplan underlay tabs + CAD extraction pipeline
Owner directives 2026-07-14~15: run the DWG pipeline; split floorplan into DWG and JPG tabs.

- tools/cad/dwg_extract.py: DWG(LibreDWG dwg2dxf) -> DXF -> layer inventory /
  keyword extraction / grid-label anchor detection (ezdxf, recover fallback)
- tools/cad/render_hall_png.py: render hall-band crops from the K1 combined
  plan+trench drawing (x0=293.5m, width 171m, Y bands 80.1m + 63m pitch,
  single load -> multi-crop). Real trench layout confirmed: 7 horizontal runs
  at ~9m pitch + central feeder (differs from assumed 6m grid seed - V61 later)
- public/media/floorplans/dwg/hall1..5.png: K1 hall underlays (3m margin crop,
  deterministic calibration from render params)
- Editor left panel new tool group with JPG/DWG tabs; DWG disabled for
  halls without CAD render yet (K2 pending). Canvas switches url+region.
- docs/analysis/cad-extraction.md: pipeline findings, limits (A3002 LibreDWG
  crash, band-to-hall numbering direction to confirm), next steps

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 00:35:12 +09:00
zio
b5d29e6061 fix(m5): close render completion loop — worker HTTP callback + /renders static serving
Worker published only Redis pub/sub events; backend status stayed QUEUED
forever (callback endpoint never called — gap masked by earlier Gemini 429).
- worker.py: POST /api/internal/render/callback (X-Worker-Token) after each
  job with imageUrl=/renders/{key}, schemaHash, modelVersion, errorMessage
- backend: serve /renders/** from RENDER_OUTPUT_DIR + security permit

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 20:52:54 +09:00
zio
0f91dcf4ae feat(ai): ReRoomAI image-to-image booth photo restyling (M5 pipeline reuse)
Reference photo upload (magic-byte check, 10MB, server-named files) +
reroom render job on the existing RenderJob queue/callback/WS pipeline.
Worker gains R1 reroom mode: 4-part prompt with fixed preserve-lock
(architecture + camera perspective) and style dictionary (6 styles,
JSON single source); NL instruction injects into replace-part only.
Booth Design Studio gets a photo-mockup section with client 1024px
downscale, style cards and Before/After slider (watermark enforced).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 00:25:23 +09:00
GUARDiA
6294627070 fix(schedule,ui): holidays on exhibition calendar, bilingual brand, neutral calendar borders 2026-07-12 19:16:48 +09:00