- 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>
22 lines
808 B
Python
22 lines
808 B
Python
"""Run the app gate checkers on a saved .3dm (opened headless).
|
|
|
|
usage: python check_model.py <model.3dm> <expected.json> <out dir> [G1 G2 ...]
|
|
Writes <out dir>/<gate>.json per checker.
|
|
"""
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
APP = Path(__file__).resolve().parents[1]
|
|
sys.path.insert(0, str(APP))
|
|
from engine.pipeline import check_steps # noqa: E402
|
|
from runner import run_job # noqa: E402
|
|
|
|
if __name__ == "__main__":
|
|
model, expected, out = (Path(a).resolve() for a in sys.argv[1:4])
|
|
gates = sys.argv[4:] or None
|
|
out.mkdir(parents=True, exist_ok=True)
|
|
r = run_job(check_steps(expected, out, gates), open_path=model)
|
|
print("wall", r["wall_secs"], "s")
|
|
for st in r["steps"]:
|
|
print(f"{st['name']:<26} {st['secs']:>7}s {st['stdout'].splitlines()[0] if st['stdout'] else ''}")
|