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,30 @@
|
||||
#! python3
|
||||
# add modification date/notes to the document properties of the four first-pass modified models
|
||||
import os, json, traceback
|
||||
import Rhino
|
||||
|
||||
BASE = r"D:\★Pier 자료\프로그램\Pier_T\검토파일"
|
||||
FILES = [
|
||||
os.path.join(BASE, "철근 모델랑 운곡교P1_바이브코딩", "운곡교p1_수정_20261023.3dm"),
|
||||
os.path.join(BASE, "검토_산외교P1", "산외교P1 G5_수정_20261023.3dm"),
|
||||
os.path.join(BASE, "검토_옥성교P1", "옥성교P1_G5_수정_20261023.3dm"),
|
||||
os.path.join(BASE, "Ramp-A교P1", "ramp-A G5_수정_20261023.3dm"),
|
||||
]
|
||||
OUT = r"C:\Users\User\AppData\Local\PierApp\jobs\c1_work\c1_stamp.json"
|
||||
res = {}
|
||||
try:
|
||||
for p in FILES:
|
||||
doc = Rhino.RhinoDoc.OpenHeadless(p)
|
||||
n0 = doc.Objects.Count
|
||||
doc.Strings.SetString("수정일", "2026-10-23")
|
||||
doc.Strings.SetString("수정내용", "C-1 bend radius to KDS 24 14 21 Table 4.5-1 (footing bars held, P3 rings / complex bars not changed)")
|
||||
tmp = p + ".tmp.3dm"
|
||||
ok = bool(doc.WriteFile(tmp, Rhino.FileIO.FileWriteOptions()))
|
||||
doc.Dispose()
|
||||
if ok:
|
||||
os.replace(tmp, p)
|
||||
res[p] = {"objects": n0, "saved": ok}
|
||||
except Exception:
|
||||
res["error"] = traceback.format_exc()
|
||||
res["done"] = True
|
||||
json.dump(res, open(OUT, "w", encoding="utf-8"), ensure_ascii=False, indent=1)
|
||||
Reference in new issue
Block a user