What is a Rhino Plugin?
This guide outlines what a Rhino plugin is and what forms it comes in.
A Rhino plugin is a software module that extends the functionality of Rhino or Grasshopper by adding commands, features, or capabilities. A Rhino plugin is a Dynamic Link Library, or DLL.
On Windows, a Rhino plugin built with the C/C++ SDK is regular DLL using shared MFC DLL.
On Windows and Mac, a Rhino plugin built with the RhinoCommon SDK is a .NET assembly.
Types of Plugins
Rhino supports five different types of plugins:
- General Utility: A general purpose utility that can contain one or more commands.
- File Import: Imports data from other file formats into Rhino; can support more that one format.
- File Export: Exports data from Rhino to other file formats; can support more than one format.
- Custom Rendering: Applies materials, textures, and lights to a scene to produce rendered images.
- 3D Digitizing: Interfaces with 3D digitizing devices, such as those made by MicroScribe, Faro, & Romer.
Note: File Import, File Export, Custom Rendering and 3D Digitizing plugins are all specialized enhancements to the General Utility plugin. Thus, all plugin types can contain one or more commands.
For Rhino to successfully load and run your plugin, several conditions must be met:
- The “RhinoSdkVersion” number of your plugin must match the “RhinoSdkVersion” of Rhino.
- The “RhinoSdkServiceRelease” number of your plugin must be less than or equal to the “RhinoSdkServiceRelease” of Rhino.
We occasionally make changes to our SDKs. When we do this, we change the “RhinoSdkVersion” number. This will cause any existing 64-bit plugins on customer computers to not load. Your customer will get an error message.
If your customer gets this message, you need to get the latest Rhino SDK, recompile your plugin, and release it to your customers.