Mesh thickness colour node

Hello guys, Any clue how to create colour node based on mesh thickness?
just want to make the model have more transparent/translucent feel at the thin parts
image

Haha I’ve Found it. appearantly the key is the Ambient occlusion from inside distance: