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>
This commit is contained in:
commit
964a841de1
3978 files changed
+58013356
No files matched your search
@@ -0,0 +1,22 @@
|
||||
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()
|
||||
CX=30133.6
|
||||
rows=defaultdict(list)
|
||||
for e in ms:
|
||||
if e.dxftype()=='CIRCLE' and e.dxf.radius==27:
|
||||
c=e.dxf.center
|
||||
if 28500<c.x<31800 and 16400<c.y<19700: rows[round(c.y,1)].append(round(c.x-CX))
|
||||
for y in sorted(rows,reverse=True):
|
||||
print(y,'depth below top %.1f'%(19659.3-y),'n',len(rows[y]),'Y',sorted(rows[y]))
|
||||
print('stirrup lines (CS-RBAR-MAJR) in 단면도 box')
|
||||
V=defaultdict(list);H=defaultdict(list)
|
||||
for e in ms:
|
||||
if e.dxftype()=='LINE' and e.dxf.layer=='CS-RBAR-MAJR':
|
||||
a,b=e.dxf.start,e.dxf.end
|
||||
if 28550<min(a.x,b.x) and max(a.x,b.x)<31750 and 16400<min(a.y,b.y) and max(a.y,b.y)<19700:
|
||||
if abs(a.x-b.x)<0.6: V[round(a.x-CX,1)].append((round(min(a.y,b.y),1),round(max(a.y,b.y),1)))
|
||||
elif abs(a.y-b.y)<0.6: H[round(a.y,1)].append((round(min(a.x,b.x)-CX),round(max(a.x,b.x)-CX)))
|
||||
for k in sorted(V): print(' V Y',k,V[k][:2])
|
||||
for k in sorted(H,reverse=True): print(' H y',k,'depth %.1f'%(19659.3-k),H[k][:3])
|
||||
Reference in new issue
Block a user