Help get started debugging python

Discussion about writing code for Inkscape.
jaywebguy
Posts: 2
Joined: Tue Jun 06, 2017 7:46 am

Help get started debugging python

Postby jaywebguy » Tue Jun 06, 2017 10:20 am

I'm a c# developer. I recently purchased a plasma cutter and have been using inkscape to design some of my cut files. I ran into an issue with the save as dxf, where its scaling incorrectly. I have to multiple my size by aprox 37.98 to get it close to the original size in inches. I've read a few posts about this being an issue in the share/extensions/dxf_outlines.py file. I've taken a look and would like to run it in debug mode to see if I can take care of it. I think I can visual code to debug the file, just need a push in the right direction. Any links on how to debug python files would probably be a good start.

thanks

Jason

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Help get started debugging python

Postby tylerdurden » Tue Jun 06, 2017 11:57 am

I can't help with debugging, but this may be helpful for the scale issue... a bug has been fixed for the next release and the related extension can be downloaded for use with the current version.

https://bugs.launchpad.net/inkscape/+bu ... comments/3
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Programming”