Convert Material Surface Pattern Into Reveals

Hi Everyone,

 I am trying to figure a way to convert a walls material surface pattern into reveals using dynamo.  Has anyone done this before?  Thanks!