2x
006105
2026-01-28

Using Dlubal API in Rhino and Grasshopper

The Dlubal API can be used in both Rhino and Grasshopper. To make it available, install the Dlubal API package directly into the Rhino Python environment. After the installation, the API can be used in the Rhino Script Editor as well as in the Grasshopper Python component.

Requirements

  • Python 3 (required by the Dlubal API)
  • Rhino 8 (currently the stable Rhino version that supports Python 3)
  • Internet access for installing the package via pip

Installation

  1. Open Rhino and run the following command: _ScriptEditor
  2. In the Script Editor, go to: Tools -> Advanced -> Open Python 3 Shell
  3. In the command line that opens, install the Dlubal API:
pip install dlubal.api

After the installation is complete, the Dlubal API is ready to be imported and used in Rhino scripts and inside Grasshopper.

Documentation

For more information and usage examples, see:

Compatibility Notes

The Dlubal API requires Python 3. Rhino 8 currently supports only Python 3.9, which limits the usable Dlubal API version in Rhino to 2.9.4 (Python 3.9 support is available up to this version).

If you need to use the latest Dlubal API version, you can use the current preview version of Rhino (Rhino WIP), which supports Python 3.13 and is compatible with the current Dlubal API.

Parent Chapter