Manufacture of T-pieces, L-pieces, S-pieces, Y-pieces, reducers, and atypical flanges