Curved Shingle System on Curved Surface grasshopper script

This thread from @laurent_delrieu might help: