feat(B07): 횡단도 수량표 바로 위 B06 [상세] 글 여러 줄 · 칸 이름 「도면 표 위 글」(150-3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JywHxQuWPk6UYXTebyrBoU
This commit is contained in:
@@ -518,7 +518,10 @@ def build_cross_drawing(
|
||||
|
||||
# 표 모듈은 이 모듈의 직렬화 헬퍼를 쓰므로 순환을 피해 함수 안에서 들여온다.
|
||||
from B07_DesignDetail.B07_DesignDetail_Engine_Cad_Table import (
|
||||
_cross_note_entities,
|
||||
_cross_table_entities,
|
||||
cross_note_height,
|
||||
cross_note_lines,
|
||||
cross_table_height,
|
||||
cross_table_width,
|
||||
)
|
||||
@@ -561,6 +564,10 @@ def build_cross_drawing(
|
||||
table_bottom = oy - half_height
|
||||
if quantity_table is not None:
|
||||
table_top = oy - half_height - 8.0
|
||||
# 표 위 글(150-3) — 줄 수만큼 표를 내림
|
||||
note_lines = cross_note_lines(design)
|
||||
entities.extend(_cross_note_entities(drawing_id, note_lines, table_top, center_x))
|
||||
table_top -= cross_note_height(note_lines)
|
||||
entities.extend(
|
||||
_cross_table_entities(drawing_id, quantity_table, table_top, title_label, center_x)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user