Skip to content

Latest commit

 

History

History
 
 

Sample-3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Rhino Inside Unreal Engine

The Rhino Inside® technology allows Rhino and Grasshopper to be embedded within other products.

Sample 2: Pass mesh geometry to Unreal Engine

This sample builds upon sample 2 and shows how to pass geometry from Grasshopper to Unreal Engine.

NOTE: Please see the Setup section for instructions on installing USharp: https://github.com/mcneel/rhino.inside/tree/master/Epic%20Games/UE#setup

Contents

The sample contains an Unreal Engine project which contains a directory named Managed. In here you will find the .sln, .csproj, and .cs files. There is one class which is loaded when the project is opened in Unreal Engine. Upon loading, the class manages to launch Rhino without UI and run some basic operations. The only .cs file is rhino.inside\Epic Games\UE\Sample-3\Managed\Sample3.Managed\Sample3Actor.cs. You can check the code here to see how Rhino is launched.

This class has been converted to a blueprint, in order to get access to the Procedural Mesh. There is also a .gh file in the Contents folder which you can open after Grasshopper is lauched.

Tutorial

This sample was prepared for a masterclass for the AEC Tech Symposium 2019. You can find the documentation here: https://github.com/mcneel/Rhino.Inside-Workshop/wiki/Sample-4