I created a script that will read a pattern file (svg type) and the palette file (gpl type) and then calculate the polygon areas for a given seam allowance for each color. The first time this was done, it was discovered we were short of material for some fabrics when we set the seam allowance at 1/4", added 10% for scrap and then rounded up to a typical yardage that would be cut by a store. To address this shortcoming, I only changed the seam allowance from 1/4" to 1/2" for the the Meerkat and Bear fabric requirement files I've provided,. Determining a reliable seam allowance is still a work in progress and probably depends on the quilter and their technique.
How to Use the Polygon Area Script to estimate fabric requirements
The script is called PolygonAreas.vbs
You can set the seam allowance near the top of the file containing the script if you want something different than 1/2"
You will need to enter the file name of your pattern (svg type) in the script
You will need to enter the name of the palette file (gpl type) and where is is located, i.e. the path, in the script.
The output file will be the pattern file name with ColorAreas appended and the file type will type txt.