Add Cohesive Elements to a 3D mesh

Hi,

Does anyone know how to insert cohesive elements into a 3d tet mesh as shown in Figure below. 

Are these cohesive elements zero thickness? Can we insert cohesive elements with a finite thickness, because then, there will be gaps at nodes as shown in the 2D figure ?

If anyone has a script for this please let me know. 

Thanks