Skip to content

cunarist/mcneel-stubs-typed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of the original mcneel/pythonstubs repository. Modifications are focused on improving type hint support.

Typed McNeel Python Stubs

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

For more details about the purpose of these packages, see the following posts:

Using with VS Code

  1. Open your project in VS Code.

  2. Open a terminal.

  3. Depending on the Python package manager you are using, install the stub packages into your project environment. While using pip is possible, we recommend using the uv package manager.

    pip install rhino-stubs-typed
  4. Now you can import Rhino or Grasshopper and use the autocomplete feature as well as type prediction. Note that advanced type mechanisms work, including operators and overloads that were not supported in the original mcneel/pythonstubs.

    Stub preview Type preview

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published