This is a little breakdown for a technique i used for a procedural tower brick building process in Houdini. The process was more complicated because i had different sizes of the bricks. Also i had to create usable UVs for mapping a mosaic image on it.