Grasshopper

algorithmic modeling for Rhino

Plugin to send Grasshopper mesh to Unity in realtime.

Hi all,

I'm making this new plugin for Grasshopper recently to connect with Unity to send mesh data in realtime. You can send the mesh geometry as it is to Unity and view it any app which includes VR app, IOS app... etc that are built by Unity.

This plugin is using Socket.IO to send geometry through network so not only you can send the mesh locally but you can send it through internet as well. I haven't made a component yet but technically you can also send and receive geometry between multiple grasshopper files in realtime as well (not sure if this function is useful though).

Still in early beta but if anyone who's interested in testing let me know.

Views: 8595

Comment

You need to be a member of Grasshopper to add comments!

Comment by satolas on July 21, 2018 at 7:07am

Hi Bonny :-)
In Unity you should look for the receive component (c#) and make sure that the ip adress there is the same as the one on your computer and as grasshopper. (www.whatismyip.com)
Btw I changed the Ip variable to be public into Unity's editor to be able to change it easily.
Also try by launching the command prompt as administrator.
If I see something else that could help I'll let you know.
Cheers,

Comment by Bonny on July 21, 2018 at 4:17am

I did npm install for the json package, ran app.js in the command line. I'm able to connect to grasshopper but in Unity, I still do not see anything streamed in play mode. Does anyone have any idea what I could be missing?

Ariel are you missing socket.io in unity or gh?

Comment by Ariel Bintang on June 30, 2018 at 3:15am

for those of you who can't run app.js u need to go to command prompt and type 'node C:/**file path to app.js**'

However now I can't find the module 'socket.io' anybody could help? i tried to download it but i cant

Comment by Bonny on June 22, 2018 at 12:10am

Hello, Thank you for your work! I am having a similar problem to Kaijie Qian...I have set everything up and installed node.js but when I run app.js, nothing happens in Unity. I have unblocked all files.

Comment by Kaijie Qian on April 27, 2018 at 8:51am

Hi,thanks for sharing it.it is super awesome

could i ask how to run app.js. i create a mesh in gh and using processing with js(i am not sure how to run app.js) plug in to run this,and in unity,attach the Recieved mesh on main camera,here is the screen shot,how can i run this,it is super important for me.many thanks for your here.

Comment by hendro trieddiantoro putro on April 10, 2018 at 10:07am

Hello, thanks for sharing sir, 
I've conduct a project about interactive design that driven from daylight using firefly grasshopper and to sync in real time with unity3d to project it in VR view

i'd like to learn this plug in 

Comment by Amaraa on October 20, 2017 at 6:57am

Thanks for letting me know where the gha was. I will test it and get back to you soon. ^^ Have a great weekend.

Comment by Junichiro Horikawa on October 19, 2017 at 10:19am
Hi Amaraa

You can go to the release page to download the gha file.

https://github.com/jhorikawa/MeshStreamingGrasshopper/releases
Comment by Amaraa on October 19, 2017 at 5:52am

Hello,

I am really interested your plug in and tried to use it. However, I wasn't able to find gha files from your github page. Could you send it to me please.

Thanks in advance,
Amaraa

Comment by Ryota Kawamura on September 18, 2017 at 9:09pm

If you use self-component, please tell me the details

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service