rhino二次开发:rhinocompute_7:index

这是本文档旧的修订版!


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。

本文档生成目录:

E:\tmp\rhinocompute_dokuwiki

当前工作区中也存在 Compute 源码:

E:\tmp\compute.rhino3d
E:\tmp\compute.rhino3d-7.x

其中 E:\tmp\compute.rhino3d\src\README.md 说明了两个关键工程:

  • compute.geometry:主几何服务,暴露 Rhino 几何能力和 Grasshopper 求解能力。
  • rhino.compute:更高层的服务入口,负责认证、反向代理、子进程管理、超时和生命周期控制。

如果你的 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

该主题尚不存在

您访问的页面并不存在。如果允许,您可以使用创建该页面按钮来创建它。

  • rhino二次开发/rhinocompute_7/index.1780650102.txt.gz
  • 最后更改: 2026/06/05 17:01
  • 张叶安