Texture repeat round cylinder

Hi there,

I’m trying to add a texture to a cylinder and set it to repeat as many times as it needs to whilst keeping its original size/aspect-ratio. I’ve tried a few different approaches but none have really worked or I’ve had to explicitly set the diffuse repeat on the basic material op which isn’t ideal.

Any tips greatly appreciated.

Current patch:

Thanks

David