I've decided to release a “proof of concept” kind of thing, real barebones. It utilizes only a dwarve's head- height and width, eye distance, nose width, chin width and shape.
Requires Python 2.7 and dfhack.
DownloadInstructions:1. Place “getdwarf.lua” in your dfhack scripts directory.
2. In-game select a dwarf with either “v” or placing a cursor over the dwarf with “k”
3. Run the script, this will generate the file “dwarf.ini” in your dwarf fortress directory
4. Place “dwarf.ini” in the same directory as “visdwarf.py” and run “visdwarf.py”
Since I'm not much of an artist I was never going to do more in terms of assets than placeholders. I had in mind something where one could freely replace the image files and artists could release their own graphics packs.
All the image files were planned to have the same dimensions, so the artists could freely choose the resolution they wish their work to have and not have to edit the code to change the coordinates of the smaller images placed on the larger ones to make them fit. This solution, however, would increase the necessary amount of images required by a large margin. For example, eyes suitable for every head shape, and then perhaps multiplied by some other face element they need to match with.
I was burnt out at the mere thought of how many placeholders I would have to do. Anyone up to the task can feel free to base their own visualizer on what I released.
edit: screenshot, as requested: