Cylindrical Ratchet

Hi All,

I am trying to create a cylindrical ratchet and can't figure out where to place guides to help with the loft. Below, I show with a wider foot print than the cylinder because I couldn't get guides to work, so I over extended and trimmed.

Showing top profile

Showing bottom profile

After trim

Not a good transition between two units because guides were not used.

Can anyone help?

SolidworksParts And Features