Comment 14 for bug 1660967

Revision history for this message
TylerDurden (8thrule) wrote :

Hi Alvin,

Thank you for your insights. I understand the scale issue is complicated and opinions differ on how to approach the recent changes.

I tested the above dxf_outlines.py with a 100mmsq rectangle path, and got varying results with changes of scale. I was hoping the output processing would have corrected or accounted for variation in scale, but it seems changes in scale set in the properties panel change the dxf output size. All were output using mm as base unit in the plotter output dialog.

So, it seems the upstream scale issue cannot be avoided, or at least a more elaborate output routine would be needed to deliver accurate output regardless of scale setting in the document properties panel. Which, I believe is possible.

But the updated dxf_outlines.py is really not needed, if scale is set properly in the document properties panel, as I have described above.

Feel free to contact me directly if you like with your thoughts on these results.

Attached are test files in a zip archive: three svg files and three resulting dxf files.

100mmsq rectangle with units mm and scale 1
100mmsq rectangle with units mm and scale 3.77953
100mmsq rectangle with units mm and scale 25.4

Respectfully,
TD