Grasshopper

algorithmic modeling for Rhino

I want to import my vrmesh file to populate it in Grasshopper, but I can't figure out how to use that file type as an import. I'm also not sure how the bake will affect the materials and geometry. Has anyone looked into this?

Views: 1193

Replies to This Discussion

It is just a guid object for these kind of things.

Basically you import guid, and have to copy / rotate / scale it as rhino objects.

For proxies I made scatter plugin for rendering:

http://www.food4rhino.com/app/scatter

These are .vrmesh populated via grasshopper:

Scatter02 from Petras Vestartas on Vimeo.

And baking is copying guid and adding it to rhino document. Since it is guid, you are limited to specific methods, but you can get bounding box of it and apply transformation:  such as plane plane orientation, scale, rotate. 

Fastest execution time actually making rhino block from vrmesh and then referencing it to grasshopper.

So you are not changing it just copying. And since you are copying you are not changing its materials and etc. 

Hey, I've been checking out your plugin. Thanks for the reply. I'm basically trying to do the same thing as you. I noticed that blocking the vrmesh keeps the materials. I'm curious though, are you importing the vrmeshes or pasting them into your file first? I would prefer if i didn't have to bring in the "library" of vrmeshes, but could extract them from a file on my network.

You can do both.

I was copying actual rhino object in C#, but with native components you can just guid of rhino object.

Second thing is probably what you want to do is having .vrmesh on your pc directly adding to rhino through grasshopper. There is an issue here, proxies do not have materials, they only have multilayer default maps. So you still will need to assign materials. 

For this stuff, if you script, just reference vraysdk .dll from your computer which is on program files and there should be some functionality to add vrmesh directly from file/folders .

Personally adding first vrmesh in rhino and just scattering them is more preferable for me as you can change one element and other ones are just instance of base object.

Yeah, this makes sense. Unfortunately, I'm a very beginner scripter. For now I think pasting in the "library" can work. The proxies are pretty light, so the file doesn't suffer much.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service