3
$\begingroup$

I would like to select all faces, which are both coplanar to my selected face and have the same area as my selected face.

  • If I do "Select Similiar" -> "Coplanar" I get other coplanar faces, but with different area.
  • If I do "Select Similiar" -> "Area" I get other same area faces, but which aren't coplanar.

So I'd like to know if there's a way to get the intersection of these two sets of faces. (or a way to logically "AND" combine these two conditions)?

$\endgroup$

2 Answers 2

5
$\begingroup$

Single selection solution

Result

Make a geonode that is of type "Tool":

Tool geonode

Make it work in "Edit mode":

Edit mode tool

Make these nodes that:

  • Separate the first face of the selection (doesn't work well for multi selection, needs to select a single face)
  • Samples the area and the normal of this face
  • Compares with other faces and set selection

Nodes

Multi selection solution - strict

This will work if you select more than one face, but it's restrictive in the sense that it goes like (area1 AND direction1) OR (area2 AND direction2). So there is no crossing areas or directions between selections.

Nodes 2

These nodes use the same comparison logic as before, but it makes copies of the original geometry for each selected face, so it's possible to compare each area respectively with each selection.

Multi selection solution - lenient

This is very similar to the previous solution, but less restrictive, following (area1 OR area2) AND (direction1 OR direction2). So, when you select two or more different areas and angles, you can get faces that can contain area1 with direction2 and also faces that contain area2 with direction1.

The general setup is the same, only the comparison changes, accumulating each field before the AND operation:

Nodes 3

File

Contains all three solutions.

$\endgroup$
2
  • $\begingroup$ Oh, that's a good idea. I'm not using this new Tool feature of Geometry Nodes a lot, it can really be helpful to create new functionalities. As you said it's not working well with multi-selection, I have no idea yet how to implement it but I just thought, could it be possible somehow with a For Each Element node? $\endgroup$ Commented yesterday
  • 1
    $\begingroup$ @GordonBrinkmann, see update :) $\endgroup$ Commented yesterday
3
$\begingroup$
  1. Select similar (coplanar).
  2. Hide others ShiftH.
  3. Select similiar (area).
$\endgroup$
1
  • $\begingroup$ The only problem I see with this solution is you have to re-select the initial selection of faces with the desired area. Which is easy with just one or very few faces but tedious with several faces. Of course it might not be very often desired to have a wide range of initial faces selected. $\endgroup$ Commented yesterday

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.