Geometry Nodes: Yet Another Pipe Generator (send maths help!)

Here’s my attempt at creating a pipe generator. Extrude connected mesh edges or a poly curve and the pipe connectors will be instanced and oriented at the appropriate junctions… except when they’re not:

I’ve managed to get 90-degree fittings to align to their adjacent pipes, but there’s issues with the 45s.

Any ideas?
pvc_kit_help.blend (2.2 MB)

You can try this setup, it should be a bit simpler.

pipe joint.blend (314.7 KB)

8 Likes

Just a bit! Thank you sir. :pray:

Here’s your rock-solid “consecutive-vector-to-rotations” (?) implemented. Now on to do some plumbing so I can see what else I need…

1 Like