I couldn’t get your way to work well with how I do pipes.
But here is how I approach buttwelds, in this case for a stub-in.
I set it up similar to this:
- Extrude verts where the line goes.
- Vertex bevel for the bends. Add extra verts where the welds will be.
- Convert to curve and add a bevel/thickness to it.
- Duplicate and change to mesh.
- Select the loops to become welds, delete the rest.
- Convert to curve and add bevel to the loops. Use UV for mapping.
- Possibly convert back to mesh if desired.
For the stub-in weld, I just hand drew a line snapping to the surface.
Shown nodes are only for the bump, I’m not doing anything for color or roughness.