3
$\begingroup$

How can I remove certain vertical edges, as seen here in the image?

enter image description here

$\endgroup$
1
  • $\begingroup$ Just a tip: I don't know what your native language is, but I notice that your questions are usually written in a relatively difficult to understand way. I can recommend this translator: deepl.com $\endgroup$
    – quellenform
    May 22, 2022 at 11:06

2 Answers 2

3
$\begingroup$

you can use this node setup:

enter image description here

enter image description here

I just compare whether x and y coordinates of each edge vertex are the same, if yes -> delete that edge.

$\endgroup$
2
  • $\begingroup$ Works, Thank You !!! $\endgroup$
    – Mateusz 88
    May 22, 2022 at 10:59
  • $\begingroup$ You are welcome!!! $\endgroup$
    – Chris
    May 22, 2022 at 11:08
1
$\begingroup$

Chris's answer is flawless, and it works beautifully.

However, if you want to select the edges based on a direction vector (and maybe even define a certain tolerance value), then this solution might be almost a little better. ...at least you even save a whole node ;-)

enter image description here

PS: With Epsilon you define the tolerance, and with the vector $B$ the direction.


You can also use this technique to filter any other edge. For example, you can select all vertical edges.

Or you can simply reverse the selection with the Boolean Math node, which will also remove all non-vertical edges:

enter image description here

$\endgroup$
1
  • $\begingroup$ Thank You, great solution !!! $\endgroup$
    – Mateusz 88
    May 24, 2022 at 7:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .