This was created using OpenSCAD, which allows to generate Braille directly from Thingiverse, using Customizer. As OpenSCAD is a programming language, this can also be used as a library.
If you want to use it outside Thingiverse, either as library or for generating Braille in your desktop, please use the code available in GitHub: https://github.com/lucasoshiro/openscad-braille. The one in Thingiverse has a lot of workarounds that were needed due to the Customizer limitations.