Scaling problem and workaround
stuwar94 opened this issue · comments
Background: My wife uses a vector drawing program called Garment Designer. Unfortunately it doesn’t support export of vector files so we “print” a pdf using the native Apple print dialog. This is opened in Inkscape in order to use the gcodetools extension.
Problem: The generated gcode gives rise to a pattern nearly 4 times larger than the original.
Workaround: Inspection of the Orientation Points reveals that instead of being spaced 100mm apart the distance is 26.458mm. This seems to indicate that although I have correctly set page units to mm, somewhere in the pdf (and subsequent svg) there is a setting indicating px. The workaround is to select the Orientation Points group and apply a scale of 377.955% (the inverse of the 26.458 distance).
I did try to modify the code but although I successfully added an option to the inx file I’m not well enough versed in Python to make use of the option! Could you consider adding that option for those who are working from pdf source and have the same issue. Thanks.
Hi Sir @stuwar94, I'm facing the same error and am unable to apply your workaround. I didn't find the Orientation Points group option to apply scale as you said in the extension options, can you please elaborate
Here’s my workflow. Hope it helps!
Workflow.pdf