Rhino Compute Setup
The headless Rhino that solves definitions, on its own Windows machine separate from the app server.
Prerequisites
- Windows Server or VM (Azure, AWS, or on-premises)
- A Rhino license: Core Hour Billing, standalone, or Cloud Zoo
Steps
Install Rhino Compute. Follow the Deploy to IIS guide.
Install the VektorNode fork. It carries changes Selva relies on: block instances, and the
definition_not_cachedreply that makes pointer reuse safe. In PowerShell as Administrator on the compute VM:irm https://raw.githubusercontent.com/VektorNode/compute.rhino3d/8.x.selva/script/update_compute_server/update_compute_selva.ps1 | iexThe script takes no arguments. It downloads the latest
8.x.selvabuild, stops theRhinoComputeAppPoolapp pool and theRhino.Computesite, backs up the current deployment toC:\RhinoComputeBackups\(keeping the last five), swaps in the newrhino.computeandcompute.geometryfolders underC:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\, restarts IIS, and hitshttp://localhost/healthcheckto confirm. On failure it rolls back to the previous backup. Logs land inC:\Logs\RhinoCompute\.Enable block instances. Set
RHINO_COMPUTE_CREATE_HEADLESS_DOC=trueand restart the service.Install the Selva plugin. Under the
rhino.computeuser account, open the Grasshopper Package Manager and install Selva plus any other plugins your definitions need. Restart afterwards. Plugins installed as a different user aren’t found at solve time.
Updating
Re-run the same script as Administrator; it always pulls the latest 8.x.selva build and keeps a rollback backup.
Connecting
Register the server at /admin/compute with its URL and an optional API key. The data provider persists this config; there is no env var for it.