Building brushes & "color to material map"

I edited wooden_wall.qb and livened it up with some noise. Of course, I was in for a nasty surprise when I tried to build something with it. Once I worked out what was going on, I had to find an easy way to add the colors in my model into the “color to material map”. I figured I’d save it in different formats and try to pull out the color codes with a hex editor, but discovered that zoxel can save as csv. So it was as easy as

grep -o '#......' my_wooden_wall.csv | sort -u

…or less easy as awk awk :wink:

Hopefully someone will find this useful.