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,23 @@
|
||||
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 run(name,x0,x1,y0,y1,cx,topy,boty):
|
||||
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 not(x0<min(a.x,b.x) and max(a.x,b.x)<x1 and y0<min(a.y,b.y) and max(a.y,b.y)<y1): continue
|
||||
if abs(a.x-b.x)<0.6: V[round(a.x,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),1),round(max(a.x,b.x),1)))
|
||||
print('=====',name,'center x',cx,'top',topy,'bottom',boty)
|
||||
print('vertical lines (Y from centre -> y range, inset from top/bottom):')
|
||||
for x in sorted(V):
|
||||
for y0_,y1_ in sorted(V[x]):
|
||||
print(' Y %+.1f'%(x-cx),'y',y0_,'~',y1_,'| 상단 %.1f 아래, 하단 %.1f 위'%(topy-y1_,y0_-boty))
|
||||
print('horizontal lines:')
|
||||
for y in sorted(H,reverse=True):
|
||||
for a,b in sorted(H[y]):
|
||||
print(' y',y,'Y',round(a-cx,1),'~',round(b-cx,1),'| top-%.1f bot+%.1f'%(topy-y,y-boty))
|
||||
run('A-A',43000,46100,23200,24680,44570.3,24691.5,23159.7)
|
||||
run('B-B',43100,46300,10450,13620,44735.4,13624.2,10480.2)
|
||||
Reference in new issue
Block a user