SkillAgentSearch skills...

Moose

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

Install / Use

/learn @dalefugier/Moose
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Moose

Moose is a Rhino 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:

  • Rhino (http://www.rhino3d.com)
  • Rhino C/C++ SDK (https://developer.rhino3d.com/)
  • Microsoft Visual C++ 2022 (v142 platform toolset)
  • Microsoft Visual C# 2022

Legal Stuff

Copyright © 2012-2025 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.

Related Skills

View on GitHub
GitHub Stars42
CategoryDevelopment
Updated6mo ago
Forks11

Languages

C++

Security Score

67/100

Audited on Sep 15, 2025

No findings