Commit Graph

2 Commits

Author SHA1 Message Date
zio
02c6b8ddee fix(m2): V67 K1 band-to-hall mapping corrected - was reversed
Owner directive 2026-07-16: verify the K1 band-hall numbering assumption.

Decisive evidence: 832 electrical circuit labels (P{panel}-{hall}{zone}-{no})
in the trench drawing, zero exceptions: band1=hall5(165) band2=hall4(168)
band3=hall3(168) band4=hall2(168) band5=hall1(163) => band n = hall (6-n).
The previous assumption (band n = hall n) was WRONG - only hall 3 matched by
luck. Mirror features in official JPGs (notch corners, exterior entrances)
independently agree.

- V67: delete all K1 measured rows (old mapping) and reseed with corrected
  generators (trench 875, pillars, obstacles, K1 exits). Assembly strips the
  V61 y-flip UPDATE (would double-flip) and the global obstacle DELETE
  (would wipe K2 rows)
- Swap DWG-tab underlays hall1<->hall5, hall2<->hall4
- All 5 generators now canonically map band = 6 - hall

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 06:53:55 +09:00
zio
ffa133aee5 feat(m2): V63 wall/stair/elevator/door obstacle recognition + avoidance
Owner directive 2026-07-15: recognize walls, stairs, elevators, doors, drywall.

- tools/cad/extract_obstacle_seed.py: rasterize hall floor into 1m cells over
  obstacle layers (WALL/DRYWALL/masonry/panel, STAIR, ELEVATOR, DOOR), connected
  components, row-strip decomposition (prevents bbox inflation of L-shaped
  thin wall runs) -> 60 measured rects for K1 halls 1-5
- V63: hall_obstacle table (kind: stair|elevator|door|wall) + seeds
- Engine: auto-layout reserves obstacles with kind-based buffer (door 1.0m
  approach clearance, others 0.3m)
- Canvas: structure layer renders obstacle rects (door tinted green);
  HallInfo.obstacles contract extension (additive)
- Limits recorded: wall strips not filled room interiors (perimeter margin +
  wall strips still block booth intrusion); K2 deferred (different layer set)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 23:38:29 +09:00