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: 8717

Comment

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

Comment by Ryota Kawamura on September 18, 2017 at 7:39pm

Dear Junichiro

I very appreciate your work and wannna use it.

Then, I have three questions about this.

1. Is it possible to use sent data to Unity as Rigidbody?

2. What is each name of components you use?

3. For usage, you told us put all dlls and gha files inside Libraries folder for Grasshopper. Do these dll files include all of them you provide?

Thank you,

Ryota

Comment by Roxane on September 11, 2017 at 5:04pm

Hi Junichiro,

Your plugin looks exactly like what I've been looking for in the past year. I am a student and need something exactly like your plugin to bridge between grasshopper and unity in order to take my design to AR. I would greatly appreciate it if you could share it with me as well. That would be a huge help.

Thanks,

Roxane

Comment by Yuxiang Zhang on July 15, 2017 at 4:38pm

Hi Junichiro! I've been trying your application but got stuck at the MeshStreamingServer part. I couldn't open the app.js file, each time the node.js window only appears for a millisecond and disappears. I'm using a win10 pc, do you have any suggestions for me to fix this? Doing a studio project and really hoping to get this working. Thank you in advance and look forward to your replyy X)

Comment by Junichiro Horikawa on May 11, 2017 at 8:41pm

Hi Satolas, 

It seems like there was a problem with Unity project in github so I updated the repo. Pls download the latest package from following url.

https://github.com/jhorikawa/MeshStreamingGrasshopper

I also added some notes in order to use the plugin.

Thank you!

Comment by satolas on May 10, 2017 at 8:06pm

Thanks for your help, I tried to add the socketIO prefab... but it doesnt work yet :-/

Comment by satolas on May 10, 2017 at 8:05pm

Comment by Juan Pablo Ugarte on May 10, 2017 at 3:25pm

I think you may need to add the socketIO prefab as well

Comment by satolas on May 8, 2017 at 8:30pm

Hi Junichiro Horikawa,

I tried your pre-realased plugin.

So, i got a "server started" into the node.js command prompt, and I can see with Glasswire that the bytes streaming seems to work (see screenshots below):

But in Unity side, when I open your exemple I'm not getting anything.

Then, I tried to add the ReceivedMesh prefab and add the Mesh Receiving (Script) into the Main camera, but still nothing. It is strange, since the communication between Rhino and the nodejs server seems to work.
Here is the setup in grasshopper, seems to be ok :

If you could help me for Unity's side could be nice.

Thanks for your amazing tool :-)
I hope that my tests will help you to improve it.

Best regards,

Comment by Junichiro Horikawa on May 7, 2017 at 4:25pm

Just added binary data in release section.

Since it's not fully tested it might not work correctly but let me know when it doesn't work.

https://github.com/jhorikawa/MeshStreamingGrasshopper/releases

Thank you,

Comment by Junichiro Horikawa on May 7, 2017 at 4:09pm

Hi Mathias, Pacôme GerardJeian JeongChrisBrice Pannetier, and Juan Pablo Ugarte.

I'm sorry for being late to reply you all.

It's still a source code but I've uploaded the package in the GitHub repo for now, you can build the plugin from it. I might upload the built version in Release section soon.

https://github.com/jhorikawa/MeshStreamingGrasshopper

From some of the people I hear that the plugin is not working and it seems like it has some conflict with other Grasshopper plugin but I haven't been able to nail down which plugin it is.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service