Feature suggestion: Pattern gallery creator

There are lots of pattern-related things right now, like making ones, or importing.

I miss the ability to automatize generation of a gallery.

It is basically a square with the pattern in it, plus a title above stating the name of the pattern. The only setting I can think of is how many columns, so that when the gallery is generated clockwise, it creates pattern sample squares, row by row.

I did something similar for our inhouse template dev.
you should take a look at https://github.com/eirannejad/pyRevit/blob/master/extensions/pyRevitTemplates.extension/pyRevit.tab/Templates.panel/Template.pulldown/Generate%20FilledRegion%20Types%20from%20Fill%20Patterns.pushbutton/script.py
and
https://github.com/eirannejad/pyRevit/blob/master/extensions/pyRevitTemplates.extension/pyRevit.tab/Templates.panel/Template.pulldown/Generate%20FilledRegion%20Swatches.pushbutton/script.py

that is a very good start.