0
$\begingroup$

I am trying to get only 1 random vertex on an edge, but my problem is, I don't know how to separate the edges to solve this. My first thought was to delete random vertices except 1.

This is my node setup:

GeometryNodes

Input mesh are connected edges:

Viewer output:

The node setup to get only one random vertex per edge should be between the Delete Geometry and Curve to Points nodes.

I hope you have some good advice for me :)

$\endgroup$
1
  • $\begingroup$ Could you elaborate on what you want to achieve? I failed to understand it. Every edge (the technical "edge" in Blender) consist of EXACTLY 2 vertices. So it would be less confusing to write "How to delete one vertex from each edge" rather than "randomly except one" - unless you mean something different, but again, I failed to understand that. $\endgroup$ Sep 23, 2023 at 14:07

1 Answer 1

0
$\begingroup$

I missunterstood the Term "Edge" and was meant "Spline". Sorry for that confusion, thats my fault. So I found a solution with the Spline Length node, where I use the Point Count socket.

The node setup:

The whole project is a pipe generator, which generates pipes along edges:

And I was looking for a node setup where I can instance some things like a valve.
So my goal was to get randomly a point per each spline, just for the first iteration.

$\endgroup$

You must log in to answer this question.

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