/Moose

Demonstrates how to share a common library with both a C++ and a C# plug-in.

Primary LanguageC++

Moose

Moose is a Rhino 7 solution that demonstrates how to share a common C++ library between a Rhino C++ plug-in, a RhinoCommon plug-in written in C#, and a Grasshopper component written in C#.

The solution contains the following projects:

  • MooseCoreLib — Rhino dependent C++ assembly (DLL).
  • MooseCommon — .NET assembly that exposes the functions exported from MooseCoreLib.
  • Moose — Rhino C++ plug-in that references MooseCoreLib.
  • MooseNet — RhinoCommon plug-in that references MooseCommon.
  • MooseGh — Grasshopper component that references MooseCommon.

Building Sample

To build the sample, you are going to need:

Legal Stuff

Copyright © 2012-2022 Robert McNeel & Associates. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.

Rhinoceros is a registered trademark of Robert McNeel & Associates.