Files
Pier_v1/검토파일/검토_운곡교P1/스크립트/footing_dot_rows.py
T
ahnyongjooandClaude Sonnet 5.5 964a841de1 chore(rebar): Pier_T_rebar 작업 폴더 초기 구성 및 외부 의존 파일 통합
- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환
- Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용
- pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관)
- worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md)
- D:\Rhino-MCP 경로 참조를 새 위치로 치환

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:20:18 +09:00

17 lines
822 B
Python

import ezdxf, sys
from collections import defaultdict
sys.stdout.reconfigure(encoding='utf-8')
d=ezdxf.readfile(r'D:\★Pier 자료\심수석님 검토 파일\철근 모델랑 운곡교P1_바이브코딩\1.dxf'); ms=d.modelspace()
def rows(name,x0,x1,y0,y1,cx,yb):
R=defaultdict(list)
for e in ms:
if e.dxftype()=='CIRCLE' and e.dxf.radius==27:
c=e.dxf.center
if x0<c.x<x1 and y0<c.y<y1: R[round(c.y,1)].append(round(c.x-cx))
print('====',name)
for y in sorted(R,reverse=True):
v=sorted(R[y])
if len(v)>3: print(' +%.1f'%(y-yb),'n',len(v),'offsets',v[:6],'...',v[-4:])
rows('정면도 (bars along Y end-on, offsets = X)',12100,17000,8000,10400,12159.4,8115.6)
rows('측면 단면도 (bars along X end-on, offsets = Y)',30100,34100,8000,10400,30133.6,8115.6)