From the pics I am assuming this was an older house that has been re-roofed?
Tile or tin originally?
The white pipe looks pretty standard and I've never seen a cut edge painted.
As for the wave effect. Either the sheets have been put down too tight and screwed at edges first or the timber...