IF you have spare energy that you are wasting, then t2 mass fabs are worth building over t3 mexes. HOWEVER t3 mexes should be built first because they are much more energy efficient.
the best places to put t2 mass fabs are: when you surround a mex with storages, surround the storages with t2 mass fabs. they get 25% more mass income that way, or 12.5% more if touching only one storage. dont build storages unless they are next to mexes.
surrounding t3 pgens with them. they have a much lower energy cost that way, and the whole structure (t3pgen + 16t2massfab) gives a net positive on mass and energy.
keep those at least 2-3 t1 pgens away from other massfabs to prevent chain reactions, so you only lose one if it gets bombed.
alos keep them shielded.
http://www.faforever.com/faf/unitsDB/unit.php?bp=URB1104,URB1202,URB1302,URB1103simply divide the mass cost by mass production to find their efficiency.
lower = better = should be built first.
note that mass fabs a re more efficient than a t2 mex but need a very large energy upkeep per mass, making them least efficient when taking that into account.
(energy cost from t3 pgens = 0.772 energy/mass)
so a massfab+ upkeep = 100 + 150*0.7716 = 215.7 masscost /mass
compared to t3 = (4600 + 0.7716*54)/18 = 257.87 masscost/mass
but when you factor in storages: (4461.67 + 800)/27 = 201.54 masscost/mass
meaning t2 massfabs are less efficient than t3 mex with storages.
hope i did the maths right :/
hope this helps