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.