Snuggles won!

Yeah, it’s official. I’ve created a template for patterns which is based on pixels.  The units for creating or editing an object within an extension can be changed to inches or centimeters by appending ‘in’, ‘cm’ or ‘px’ to the measurement specified in the create element call. This doesn’t change the base unit of the document, will just need a global var in first extension or put a database lookup in each extention to specify the client’s measurement choice.  This actually makes it easier to make changes per client. Metric is preferable because smaller units  results in greater accuracy — but it’s tough for me in the US to find sewing notions in centimeters so I’m fairly stuck with inches. But the program will allow for both so that clients can use the measurement they prefer.

About Susan

FOSS digital patternmaking developer
This entry was posted in Inkscape. Bookmark the permalink.

One Response to Snuggles won!