A few days ago, Allegorithmic released a new version of Substance Painter version 2017.2 with a few feature called Anchor Points that allow you to incorporate your generator details into your brush stamps. I also show the MatFX edge wear detail filter to get similar results and a simpler setup at the cost of flexibility.
I should add that Edge wear is not the sole purpose of Anchor points in Substance Painter, but was just for the scope of this video.