rhino-ghlisted
Install: claude install-skill jsb4702-glitch/verification-harness
# Rhino / Grasshopper 개발 (지식형 v1.0)
Rhino 8 기준. 이 스킬의 모든 API 명칭·코드 패턴은 2026-08-25 공식 문서
실조회로 확보한 것이며, 각 항목에 출처 URL이 붙어 있다.
## 정신모형 — 라이브러리 지도
```
Rhino 앱 (Win/Mac)
├─ RhinoCommon (.NET SDK) ← Rhino 안에서만 실행, 전체 기능
│ └─ rhinoscriptsyntax ← RhinoCommon 위의 고수준 파이썬 래퍼
├─ Grasshopper (.NET/RhinoCommon 플러그인)
│ ├─ C# .gha 플러그인 (GH_Component 상속)
│ └─ Script 컴포넌트 (Python 3 / C#, 캔버스 안)
└─ ScriptEditor + rhinocode CLI (Rhino 8, Python 3 = CPython 3.9.11)
Rhino 밖 (독립 실행)
└─ rhino3dm (py/js/.NET, MIT) ← 지오메트리·.3dm 입출력만, GH solve 불가
```
- Grasshopper 정의(.gh) 계산(solve)은 Rhino/Grasshopper 프로세스가 필요하다.
rhino3dm 단독으로는 안 된다 (README에 solve 기능 언급 자체가 없음,
https://github.com/mcneel/rhino3dm).
- .gh(바이너리)/.ghx(XML) 파일은 GH_IO.dll이 읽고 쓴다
(https://wiki.mcneel.com/labs/grasshopper_fileformat).
## 실행경로 — 플랫폼 제약 (사용자에게 선제 고지)
- **macOS 헤드리스 불가**: Rhino.Compute·Rhino.Inside는 Windows/Linux 전용
(공식 FAQ 직접인용 "only compatible with Windows and Linux",
https://developer.rhino3d.com/guides/compute/compute-faq/).
맥에서 자동화는 Rhino 8 앱을 켠 상태에서 rhinocode CLI 또는 MCP 브릿지 경유.
- Rhino 8은 macOS 12.4+ 지원 (https://www.rhino3d.com/8/system-requirements/).
- Rhino 8 Python = CPython 3.9.11 (Win/Mac). Rhino 7 = IronPython 2.7.12
(Windows 전용) (https://developer.rhino3d.com/guides/rhinopython/what-is-rhinopython/).
Rhino 8도 두 런타임을 병행 배포한다(~/.rhinocode/py39-rh8/, py27-rh8/).
- Rhino 설치·라이선스가 전제다. 이 환경에서는 실행 검증 불가 —
코드는 사용자 머신에서 돌린다는 걸 명시해라.
## 핵심 규율 (위반 금지)
1. **API 시그니처는 기억으로 짓지 마라.** 이 스킬