Skip to content

mcneel/pythonstubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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