algorithmic modeling for Rhino
This is, I think, a relatively simple question, but I can't seem to figure it out.
I have a Rectangle component generating a set of rectangles with different sizes. After the rectangles are generated, this set is culled. I'd to be able to read the sizes of the culled set of rectangles (these sizes are rounded to a small set of values; what I'm ultimately trying to do is count how many rectangles of each size there are in the set).
So, I'm wondering how to do that. And, in general, how to read values of parameters like this, that are sort of packaged within a single entity. For instance, if I wanted to get the position of these rectangles instead of the size, how would I do that?
Many thanks!
Tags:
I was thinking about this and I figured one way to do it would be to take "L" output of the Rectangle object (ie, curve lengths of the generated rectangles) and then cull it using the same criteria that I use to cull the set of rectangles. However, I'm still interested in the more fundamental question: is there a way to access data embedded within higher-level entities?
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