algorithmic modeling for Rhino
Hi there,
my situation:
.I have n number of panels with different dimensions
.I would like to schedule all the panels according to the area (20 panels 2sqm, 30 panels 3 sqm,...
I sorted the area and I manually filtered with equality component the panels, but I would like to avoid to review manually each value, since changing the number of panels the value change.
thanks in advance!
Tags:
yes, it works, but I would like o select a single group of panels using the index in the data tree:
using index 0 I should select the four panels with the same area
using index 1 the two panels with the same area.
is it retrieve branch?
Replace the distance values here with your area values, and replace the square grid points with your panels.
http://2.bp.blogspot.com/-SQiKLliHuiw/T5IyPWtwhOI/AAAAAAAAALc/ZuYWe...
What is the 'DomComp' component in your example?
it is deconstruct domain, the screenshot is old and that component used to be called "decompose domain"
Interesting... I can sorta see how it works in your example, though would need to wire it up to be sure. Is that code available?
Not so clear how to apply that technique to this question though? As always, code would help.
"code would help" - code is there via screenshot
It is applicable because by using domains you wont need to round (maybe you have a tolerance which determines that a panel is still "the same") so you would use sub domains, I'll wire one up later but am a bit busy at the moment. In the meantime here is an alternative to the rounding method.
"code would help" - code is there via screenshot
Ah, come on Michael, you know what I meant. I'm not going to bother from a screen shot.
You didn't internalize the list of curves in this example but I get the idea, thank you.
Sure, of course I don't think one way is better than the other in this case, just nice to have some variants.
Sorry about internalize, it didn't exist when I learned GH so I often forget about it :D
YES!
thank you, Joseph! really clever, it perfectly works.
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