Not all ridge beams have five sides, a four sided beam will work, two roof planes and two rafter joint faces....
I've cut five sided ridge beams on my sawmill before...


Whatever you do, have fun doing it!