Grasshopper

algorithmic modeling for Rhino

Hi,

I am new to GH and to general programming, I have been following several online resources and got hooked to this way of modeling and thinking, but I'm still miles off from really "getting it".

I am trying to make a pattern distribution on a surface which scales objects by a certain percentage depending on the row, ie, i have a 3x4 surface division, i want the first 3 objects to be scaled by 1.0 second row by 1.5 , third row by 2, etc.

I understand the basic scaling "by object" but can't figure how I would do for row-based scaling. I have tried (and failed) to follow danny boyles' http://www.grasshopper3d.com/forum/topics/dividing-list-into-sub-li... post into dividing the list into branches but don't know whether this is the correct way and also i couldn't figure out  where I should insert this into my diagram.

Any tips on what i should be looking at would be very welcome.

Thanks.

Klaus

Views: 719

Attachments:

Replies to This Discussion

Well.. I was expecting some kind of reply even if just an acknowledgement. I see all comments eventually get answered very kindly, I don't know whether my question was very weird or I made some sort of social faux pas? : ) 

Hallo Klaus,

It's nothing against you or your question, I think we all just missed out on reading your post.

Does the image below help? (I was feeling too lazy to recreate your script, sorry!)

[EDIT] If this doesn't work, can you post your file here? It will be easier to find a solution then.

The chosen forum for your question might also have a bearing on why it went unanswered.

Sample and Example Files should be for when you have something to show case.

Because there is so much traffic on here it would have slipped off the front page of recent activity after only a short period. And unless someone specifically goes to Sample and Example Files would not see it there.

I recommend you use Discussion Forum for questions like this.

Thanks Danny, noted for future reference.

Hi Sridevi,

That's it exactly! magic, sorcery!!! : )

thank you so much! now i'm going to digest and understand the logic.

Very much appreciated.

Klaus

Glad to help. I hope you were able to understand the solution, if not, feel free to ask :)

Cheers,

Sridevi

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service