algorithmic modeling for Rhino
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.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by