algorithmic modeling for Rhino
I have been scouring the internet for at least a month now looking for ways for grasshopper to bake objects as instances of a block. I have found some solutions such as plug-ins, but all require the block to exist in Rhino, then modified and re-baked. However I came across one person who was able to make a C# script to do exactly what I am trying to do... kind of...
http://www.grasshopper3d.com/forum/topics/bake-as-block-c-script-help
I am not exactly proficient with C#, so I was hoping there was someone out there who can help me modify what was done in the linked thread.
Basically what I am trying to do it have an input of lets say 3 crvs (Rectangle, and two diagonal lines making an X through it), and there are 100 variations of them, 1000 total items. I have them grouped (so the 3 associated crvs are together) and then sorted into branches (each group in an independent branch). How do I bake all 1000 groups, with only 100 blocks as instances of themselves.
This isnt the end goal, and is a made-up situation, but it is the basics of what im trying to do and a lot easier than trying to explain the entire script I already have :-p
Any help is appreciated!
Tags:
OK, whilst the V3 - it's simply the N3 out of the 10 promised block demo cases - is ready (WOW nesting stuff there, he he) get the V1B that deals with these @%$@% levels (plus color). Did I've mentioned that I hate levels?
He he.
Spot the magic boolean (yellow group) thingy that does ... mysterious things (see notes and stuff inside n1 C#)
Spot the policy as regards sampling block data: Imagine a vast definition with N "nodes" (components and/or C# code that do something) from where we need to gather geometry (plus block attribute data) ... So we have in fact N "autonomous" scripts that gather (and validate) data and then they send them to the n1 C#.
Then you place the instances via n2 C# and continue doing other stuff/work.
Anyway it's still WIP.
Spot the delete/create "variation" option (actually it doesn't work quite well in this V1B).
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
© 2024 Created by Scott Davidson. Powered by