这是本文档旧的修订版!
RhinoCompute 教学文档
本文档是一套可导入 DokuWiki 的 RhinoCompute 教学材料。每个章节是一个独立页面文件,建议放在同一个命名空间中,例如 rhinocompute:。
学习目标
完成本教程后,读者应能:
- 解释 RhinoCompute、compute.geometry、rhino.compute、Rhino.Inside、Hops 之间的关系。
- 在本地 Windows 开发机上编译、启动、调试 Compute。
- 用 Python、JavaScript、.NET 或直接 REST 请求调用 Compute。
- 把 Grasshopper 定义封装成 Hops 函数,并配置远程 Compute。
- 理解 Windows/IIS 生产部署、API Key、核心小时计费和常见运维参数。
- 根据日志定位 401、500、超时、请求体过大、授权失败等问题。
章节目录
推荐阅读顺序
初学者按 01 到 10 顺序阅读。已经有 Rhino/Grasshopper 经验的读者,可以先读 01、03、05。准备上线部署的读者,应重点阅读 06、07、09、10。
DokuWiki 导入建议
如果你的 DokuWiki 页面命名空间为 rhinocompute,可将这些文件作为页面内容导入:
| 文件 | 推荐页面 ID |
|---|---|
00_index.txt | rhinocompute:start |
01_concepts_and_architecture.txt | rhinocompute:01_concepts_and_architecture |
02_environment_and_version_selection.txt | rhinocompute:02_environment_and_version_selection |
03_local_debugging.txt | rhinocompute:03_local_debugging |
04_client_calls_and_rest_patterns.txt | rhinocompute:04_client_calls_and_rest_patterns |
05_grasshopper_hops_workflow.txt | rhinocompute:05_grasshopper_hops_workflow |
06_production_windows_iis.txt | rhinocompute:06_production_windows_iis |
07_licensing_billing_and_security.txt | rhinocompute:07_licensing_billing_and_security |
08_custom_endpoints_and_plugins.txt | rhinocompute:08_custom_endpoints_and_plugins |
09_linux_and_operations.txt | rhinocompute:09_linux_and_operations |
10_troubleshooting_and_exercises.txt | rhinocompute:10_troubleshooting_and_exercises |
主要资料来源
最后更新:2026-06-05