I have a method but its not perfect. I combine a Boolean cruve created from an edge along the sureface that you want to add the pattern with an array modifer to get a simular effect. Create your pattern mesh and add an array modifer to it make the pattern as big as you need. Then select an edge path along the sureface you want the array to wrap around. Duplicate the edge and seperate it into its own object then convert it to a curve. Select your arrayed object and assign it to follow the curve.
This method does not always set the arrayed object flat with its targeted sureface, there will probably be slight clipping around the farthest edges of the array because it is not taking the full curve of the surface into account just a single edge from it.
Sorry if this is hard to read writing this on a kindle these touch screens suck.