This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
developer:zoorhinoplugin [2020/11/25] sandy [Creating a Rhino C++ Plug-in] |
developer:zoorhinoplugin [2020/11/25] sandy [Rhino Plug-in Sample] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Creating Rhino C++ Plugins that use the Zoo ====== | ====== Creating Rhino C++ Plugins that use the Zoo ====== | ||
> **Developer: | > **Developer: | ||
- | > **Summary: | + | > **Summary: |
===== Overview ===== | ===== Overview ===== | ||
Line 29: | Line 29: | ||
- Launch Rhino and use **PlugInManager** to install your plugin (to verify that it was correctly built). | - Launch Rhino and use **PlugInManager** to install your plugin (to verify that it was correctly built). | ||
- | ===== Adding Licensing Support to your Plug-in | + | ===== Adding Licensing Support to your Plugin |
- | After you have built and tested your basic plug-in, you can add licensing support as follows: | + | After you have built and tested your basic plugin, you can add licensing support as follows: |
- Add a new .CPP file to your project. | - Add a new .CPP file to your project. | ||
- In this .CPP file, declare a new class that is derived from **CRhinoLicenseValidator**. | - In this .CPP file, declare a new class that is derived from **CRhinoLicenseValidator**. | ||
- Override the **CRhinoLicenseValidator:: | - Override the **CRhinoLicenseValidator:: | ||
- | - Override and implement the **CRhinoLicenseValidator:: | + | - Override and implement the **CRhinoLicenseValidator:: |
- Create one (and only one) static instance of your object. | - Create one (and only one) static instance of your object. | ||
- | - In your plug-in' | + | - In your plugin' |
- | - Build your plug-in. | + | - Build your plugin. |
- | - [[developer: | + | - [[developer: |
- | - Launch Rhino and test your plug-in. When your plug-in is loaded | + | - Launch Rhino and test your plugin. When you load your plugin |
{{: | {{: | ||
===== Managing your License ===== | ===== Managing your License ===== | ||
- | Rhino plug-ins | + | Rhino plugins |
{{: | {{: | ||
- | ===== Rhino Plug-in | + | ===== Rhino Plugin |
- | [[https:// | + | [[https:// |
\\ | \\ |