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 @@
|
||||
"""Final stage: apply the display state recorded in params `display` (hidden objects).
|
||||
|
||||
Run inside Rhino 8 via runner (globals PARAMS_PATH) after all build stages.
|
||||
"""
|
||||
import json
|
||||
|
||||
from Rhino.DocObjects import ObjectEnumeratorSettings
|
||||
|
||||
P = json.load(open(PARAMS_PATH, encoding="utf-8"))
|
||||
doc = __rhino_doc__
|
||||
hide = set(P["display"].get("hidden_ids", []))
|
||||
s = ObjectEnumeratorSettings()
|
||||
s.HiddenObjects = True
|
||||
done = []
|
||||
for o in doc.Objects.GetObjectList(s):
|
||||
oid = o.Attributes.GetUserString("id") or ""
|
||||
if oid in hide and not o.IsHidden:
|
||||
doc.Objects.Hide(o, True)
|
||||
done.append(oid)
|
||||
missing = sorted(hide - {o.Attributes.GetUserString("id") for o in doc.Objects.GetObjectList(s)})
|
||||
print(json.dumps({"hidden": done, "missing": missing}))
|
||||
if missing:
|
||||
raise RuntimeError(f"display: hidden_ids not found {missing}")
|
||||
Reference in new issue
Block a user