I have a geometry nodes setup which I thought does a proper job with spawning(and aligning) objects on mesh edges. But it appeared that sometimes it works ok, but sometimes it doesn't. For example, it totally nails spawning on cube edges:
But it fails with spher-ish low-poly objects, e.g:
- With one-subdivision Icosphere:
- With a Dodecahedron:
In case of the IcoSphere and Dodecahedron approximately a half of instances have a right alignment, while other half are rotated to some weird direction.
Now my node setup looks this way:

How to fix wrongly aligned instances?





