generative modeling for Rhino
I have been modifying a definition that I made that generates a linear growth of cubes by mirroring, so that instead of randomly selecting faces to mirror about, it grows towards a selection of randomly placed points that are closest to it.
Unfortunately the definition has a bug in it that I can't spot, so it doesn't work yet...
If anyone is able to point out where I've gone wrong, I would be very grateful!
Previous exercise growing in random directions:
http://wewanttolearn.wordpress.com/2012/02/29/random-linear-growth-...
Current GH file:
Growth towards nearest points [not working yet]
Thanks for your ideas!
Dan
Permalink Reply by Systemiq on March 3, 2012 at 3:45pm I can't really find your bug, modified a bit your def and it seems to work, but it wasnt working 1 minute ago with same modifications (weird error message in HS window, I never seen before). I remade it with a new HS component and it looks ok. Probably some malfunction in Hoopsnake.
Permalink Reply by Dan Dodds on March 5, 2012 at 6:00am Thanks very much for that! - It seems to work as I was expecting now.
As far as I can see, the only parts you changed were swapping 2x 'merge' for 'entwine', and adding a limiting factor into Hoopsnake. Do you think it was either of those that was the problem, or was it just a bug that particular instance of Hoopsnake?
Also any chance you could explain th difference between merge and entwine?
Cheers,
Dan
Permalink Reply by Systemiq on March 5, 2012 at 9:59am I also added the second output of Bang to the second input of merge/entwine, to keep trace of cubes.
I dont think swapping merge for entwine really solved any problem, entwine just make cleaner paths in your case.
Merge will mmh well errm merge data if paths provided are the same.
Entwine will create a new branch for each input.
Permalink Reply by Dan Dodds on March 5, 2012 at 11:21am I see! Silly question now I come to think about it...
Dan
Permalink Reply by Cesar Diaz on March 7, 2013 at 3:02pm
Permalink Reply by Dan Dodds on March 12, 2013 at 7:18am Thats good! - I did a similar thing when I got it working, but never took it beyond an idea into a more complex project. Yours looks like you're planning something on a real site - out of curiosity, what is the project that you're using it for?
Glad the GH definition was of use to you!
All the best,
Dan
© 2013 Created by Scott Davidson.
Powered by