What is the C/C++ SDK?

This guide gives an overview of C/C++ SDK.

The Rhino C/C++ Software Development Kit (SDK) is an API for customizing and extending Rhino for Windows. The SDK provides tools that provide direct access to its database structures, geometry, graphics system, file I/O, command definitions, and much more.

The Rhino C/C++SDK consists primarily of C++ headers and libraries that can be used to build Rhino extensions called Plugins. Plugins are Windows DLLs that can be loaded into the Rhino process and interact directly with the Rhino application. Rhino plugin modules use the file extension .rhp instead of the more common .dll.

Types of Plugins

Rhino supports five different types of plugins:

  1. General Utility: A general purpose utility that can contain one or more commands.
  2. File Import: Imports data from other file formats into Rhino; can support more that one format.
  3. File Export: Exports data from Rhino to other file formats; can support more than one format.
  4. Custom Rendering: Applies materials, textures, and lights to a scene to produce rendered images.
  5. 3D Digitizing: Interfaces with 3D digitizing devices.

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.

As with all of our development tools, the Rhino C/C++ SDK is free, royalty free, and includes free developer support.