It's just basic math. If a face goes up at an angle, then decrease the number of meters little by little until it levels off, and then just copy and paste for the other side. To make it flush with the object then takes a bit of texture modding.
BStyles