Select item

Hi, How can I select all cels on 1 horizontal grid and then cull these cels.
Thank you.
Inverte the way to select faces.gh (13.2 KB)

Does FlipMatrix not work? I see you have it on the canvas already.

1 Like

I hate Bifocals :bangbang:


cull_faces_2024Oct23a.gh (17.3 KB)

P.S. I should have rounded the Z values to make sure sets are created properly. I got lucky this time. Usually an expression on the pDecon ā€˜Z’ output that rounds to two or three decimal places is enough: round(x,2). But that depends on the Z values.

And by the way, Deconstruct Brep wasn’t necessary or helping you because the Isotrim output was already surfaces.

2 Likes

There’s no need to find the areas and risk use sets.


Inverte the way to select faces.gh (15.5 KB)

option 1 is with direct index, option 2 is with ratios like Joseph suggested.

1 Like

ā€œrisk setsā€ :interrobang: Rounding centroid Z coordinates eliminates the risk. I have used variations of this technique using Member Index many times, in many different contexts.

But you are correct that it wasn’t required in this case.


cull_faces_2024Oct24a.gh (11.9 KB)

I am all in favor of finding multiple ways of accomplishing the same goal but don’t see how your methods achieve the goal of this thread :question:

1 Like

By risk I meant on a larger scope, using sets on decimals can be risky and has been for me.
There are cases where it’s safe, but isn’t always the best option.
Anyway, I guess it’s might also be just an opinion :v:

1 Like

For the third time, rounding can eliminate that risk.

Sometimes you don’t know how the geometry was built.

But for the second time, in most case (like this one) it works, and it was my opinion :slight_smile:
Let me change ā€œriskā€ to ā€œuseā€ so there’s no conflict :v:

Hi Joseph,

Great it works as expected. Sorry for Bifocals, what do you propose instead ?

Hi martynjhogg, not I tried but dont work.

Thank you Antoine Maes, easy way and works as expected.

Sunglasses. WAY better :bangbang: And I would avoid ā€˜Draw Full Names’.

1 Like