fix(526-1): B07 횡단 장 인쇄 칸선 지움 · 칸마다 안내선 · 처음 맞춤 작도 영역까지
- 횡단 장 칸 격자선(도각 층 인쇄 개체) 지움 — 칸은 화면 안내선 겹판(guide.cells · 단면마다 점선) · 안내선 숨기기에 함께 꺼짐 · 넘친 칸 붉은 틀은 그대로 - 옛 확정 · 저장본 장은 열 때 칸선만 걷고 칸 안내선은 지금 배치로(refresh_saved_sheet) - CAD 처음 맞춤 · 전체 맞춤 = 내용 + 작도 영역(가이드) — 표준 횡단도가 내용에만 확대돼 도면 한 장 안 자리가 안 보이던 흠 - 낡은 시험 고침: test_169 칸선 단언 → 칸선 없음 + 칸 안내선 · test_212_3 「남는 검은 선 = 인쇄 칸선 지우지 않음」(212-3 결정) → 요구 343-4 로 칸선 지움 · guide-area 시험 칸 그리기 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -149,11 +149,14 @@ def _asset_data_url(relative_path: str | None) -> str:
|
||||
|
||||
|
||||
def _drawing_guide(drawing: dict[str, Any]) -> dict[str, Any] | None:
|
||||
"""CAD 가이드(169-1 · 169-2) — 작도 영역(도면 좌표) + 넘친 칸. 도각이 없으면 None."""
|
||||
"""CAD 가이드(169-1 · 169-2 · 526-1) — 작도 영역 + 넘친 칸 + 횡단 칸. 도각 없으면 None."""
|
||||
entities = drawing.get("entities") or []
|
||||
# 구조물 도면(376) = M02 얹는 도각 층
|
||||
area = frame_guide_area(entities) or frame_guide_area(entities, STRUCTURE_FRAME_LAYER)
|
||||
return {"area": area, "marks": drawing.get("overflow_cells") or []} if area else None
|
||||
if not area:
|
||||
return None
|
||||
marks = drawing.get("overflow_cells") or []
|
||||
return {"area": area, "marks": marks, "cells": drawing.get("guide_cells") or []}
|
||||
|
||||
|
||||
async def title_block_fields(project_id: UUID) -> dict[str, str]:
|
||||
|
||||
Reference in New Issue
Block a user