Mechanically defining chain line: a line parallel to the center-line of the bike ..
in a triple crank the middle chain ring is on a line matching the center of the rear cog cluster..
a cog if an odd number or the gap between the 2 most centered cogs if an even number..
do what you have to do to make it so.
...