Stubs for RhinoCommon


License
MIT
Install
pip install Rhino-stubs==7.0.19252

Documentation

McNeel python stubs

PyPI

Python stubs for .NET assemblies that ship with Rhino. Specifically

See the following posts for details about the purpose of these packages:

Using with VSCode

  • Open your project in VSCode

  • Open a terminal

  • Depending on the python package manager that you are using, install the stub python packages into your project environment. Examples below use the pipenv package manager.

    $ pipenv install Rhino-stubs

    $ pipenv install Grasshopper-stubs

  • Now you can import Rhino or Grasshopper and use the autocomplete