SIMPLE - Selecting every second panel in grid fassade

HI guys Im new to grashopper and even though its quite simple Im struggling with this script. What Im trying to do is a grid that would be optimal for my facade. I want to be able to make every second vertical panel of the grid thinner.(so I can find the best sizes for my facade) But when I used component cull pattern, it didnt work properly.

I would also love to bake it so at the end I could measure a line and a distance of each panel

I would really appreciate your help

3. Attach minimal versions of all the relevant files

forum.3dm (43.0 KB)
forum.gh (6.4 KB)

Not sure I understand your goal.

Here’s a solution using Paneling Tools (can be installed with _PackageManager* command) that produces panels with selectable divisions for the odd / even horizontal rows.

240525a_forum.gh
(6.3 KB, Curves internalised from your .3dm file)

-Kevin

1 Like

Thanks a lot for help Kevin, really appreciate your answer and time.
Its very useful what you did, but I’ve meant something a bit different(see attachement). Just 2 types of panels one thinner an one thicker. I did demonstration in rhino but I need a script that could generate sizes of these panels for A and B.

I tried earlier creating 2 grids and merging them but that left me confused.

Blockquote

Could this possibly be what you want?

panels of different widths.gh (14.8 KB)

1 Like

Amazing William! That’s exactly what I wanted. This will do the job, but is it possible to link the input to initial Curve? Just out of curiosity.

Also, on another note Im going to try to make this panels perforated and randomised(each panel being different), how would you approach it? (just asking for advice, i would like to try that myself).

Amazing William! That’s exactly what I wanted. This will do the job, but is it possible to link the input to initial Curve? Just out of curiosity.

I think I can do that. I’ll play around with it a little bit and see if I can.

Also, on another note Im going to try to make this panels perforated and randomised(each panel being different), how would you approach it? (just asking for advice, i would like to try that myself).

I’m not sure how I would approach that. Is it only the widths that need to be randomized? Or also the heights? It definitely gets more complicated…probably would need to use a code component (the python component, for example). I don’t think I have time to do that.

Here’s what I came up with. It takes the outer building shape and the lowest window shape as inputs.

Horizontally, the width of the building doesn’t divide equally by the combined width of the window and non-window panels, so I had to round the horizontal sections up

[edit: it also doesn’t take into consideration the window height, unfortunately]

panels of different widths3.gh (15.7 KB)

1 Like

@John_K here’s another method to get your basic panels.

240526a_forum.gh (15.4 KB)

Not sure what your intent is here, could you provide a sketch?

-Kevin

1 Like

Hi Kevin, Thanks a lot of Help. It works good but I need to modify it a bit.
what i dont like is that all the panels share the same horizontal line. what Im trying to achieve is to have every second panel not only thinner but also perhaps smaller/bigger.
I’ve edited your script a bit and simply created other curve that I moved to achieve the effect as on the image. But Im wondering is there a more proper way?

Thanks

There are multiple ways to do just about everything in grasshopper. I might do it differently and you might do it differently after you’ve learned more. As long as your solution meets your goals and doesn’t cause problems later in the process, I wouldn’t worry about it.

-Kevin

2 Likes

Hi guys, I have additional query. I manage to find a solution with the previous script but i was wondering about additional option.

i am wondering if it would be possible to do a script where the panels are like on the image. where they do not move through Y Axis but more like 1/2(see image). Or is there any script that would allow me to find the best size of panels in reation to windows?(ideally the panels are the same size as windows and match fully).