- 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>
18 lines
981 B
Python
18 lines
981 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()
|
|
CXe=12159.4
|
|
def EL(y): return 43.411+(y-19515.6)/1000.0
|
|
V=defaultdict(list); arcs=[]
|
|
for e in ms:
|
|
t=e.dxftype()
|
|
if t=='LINE' and e.dxf.layer in('CS-RBAR-MAJR','CS-RBAR-EREC'):
|
|
a,b=e.dxf.start,e.dxf.end
|
|
if abs(a.x-b.x)<0.6 and 11500<a.x<13300 and 13000<min(a.y,b.y) and max(a.y,b.y)<19900 and abs(a.y-b.y)>200:
|
|
V[round(a.x-CXe,1)].append((round(min(a.y,b.y),1),round(max(a.y,b.y),1)))
|
|
print('vertical bar lines in/under coping (x offset): y range -> EL (valid above break only: coping soffit y=16515.6 = EL 40.411)')
|
|
for k in sorted(V):
|
|
for a,b in sorted(V[k]): print(' x',k,'y',a,'~',b,' EL %.3f ~ %.3f'%(EL(a),EL(b)))
|
|
# any arcs near P1 hook at top? lines near coping top near column: horizontal short lines
|