generative modeling for Rhino
Hello all,
I am trying to develop a definition that outputs a specific set of data according to a pattern that can be controlled sequentially, and am not sure how to go about doing this. Hopefully someone will have an idea or can suggest a direction.
I am using a spiral as the base geometry for a number of modules which extend along its length according to an Evaluate Length input. Currently I have 3 module sizes a 6, 3 and 1.5. I can increase the length of the evaluation and more boxes will pop-up along the line, which are then defined in more detail at a later stage in the definition. However my method for achieving the different module sizes is a bit cumbersome. Each basic module is being divided/achieved according to boolean patterns, to sub divide the segments from 6 to 3, then from 3 to 1.5. As such this messes with the order of the boxes. It then seems difficult to reorder.
I would like to be able to simply write a pattern input that then streams the module definition, and does not disrupt the order of the modules. For example I could create a list that simply allows me to type, a,b,c,a,b,e, and it would stream the data from a particular module type 'library' and order it along the spiral, with the modules each being different sizes.
I talked with my tutor who suggested the stream gate may work, but I'm not sure how to go about achieving this, or if this is even possible in a more efficient, and logical way with greater user control (the cull pattern method being semi-random).
As always your help and ideas would be greatly appreciated!
Attached the basics of my definition for advice. (Define 1 point use red eval length slider to extend the length)
Thanks!
Chris
Tags: Gate, Modular, Module, Spiral, Stream
Permalink Reply by Chris Ingram on March 21, 2012 at 1:32pm
Permalink Reply by Chris Ingram on March 22, 2012 at 2:52am Any ideas?
Permalink Reply by Danny Boyes on March 22, 2012 at 4:25am
Permalink Reply by Chris Ingram on March 22, 2012 at 4:34am Thanks Danny that's great. Cheers!
Permalink Reply by Dedackelzucht on March 22, 2012 at 5:13am Hey
Danny has been faster. I just made a file he way I would do it. Maybe this is helping somehow :-)
Best Regards
DeDackel
Permalink Reply by Danny Boyes on March 22, 2012 at 5:30am Nice use of List Insert for appending 0.
Have you seen the Consecutive Domain component?
Permalink Reply by Dedackelzucht on March 22, 2012 at 5:34am oh! Thats a cool one :-)
Thanks for the hint, Danny!
Best Regards
DeDackel
Permalink Reply by Chris Ingram on March 22, 2012 at 5:59am Thanks DeDackel, with the equation for the spiral, is there a simple way to control the dimensions. Unfortunately I dont really understand the function 3 inputs, so I'm not sure how to gain numerical dimensional control over the equation.
I imagine that its straightforward but cant seem to get my head around it!
Permalink Reply by Danny Boyes on March 22, 2012 at 6:14am
Permalink Reply by Dedackelzucht on March 22, 2012 at 6:43am Hey Danny,
I just made the L input for the repeat component parametric to the sliders. and just for fun I added a negeative offset.
I love the Consecutive Domain component... :-) saves time
Hey Chris,
as Danny already discribed the main differences between my file and yours is the defenition of your modules. I defined it by the t parameter of the curve and Danny by the length of the subcurve. The f3 component was just the mathamtical defenition of the spiral. Danny splits the function into its components.
Best Regards
DeDackel
Permalink Reply by Chris Ingram on March 22, 2012 at 7:55am Thanks for your help guys! I think i need to so some trigonometry revision... :-.
Permalink Reply by Dedackelzucht on March 22, 2012 at 6:45am the file
Added by David Stasiuk 8 Comments 22 Likes
Added by stefano 5 Comments 7 Likes
© 2013 Created by Scott Davidson.
Powered by