Posts

Showing posts from December, 2021

Inkscape DXF to SVG on Linux and Windows Command line solution

Assume that I am converting truelove5.dxf to truelove5.svg in an A4 size canva. Windows : Notes: Use the python version inside inkscape (bin\python.exe) Use dxf_input.py in C:\Program Files (x86)\inkscape\share\inkscape\extensions\. Use --scalemethod=auto to do autoscale. You can open this .py file directly in your text editor to see how it works inside. Assume that my main inkscape program is installed in C:\Program Files (x86)\inkscape\, inside this directory, execute: bin\python.exe share\inkscape\extensions\dxf_input.py c:\Users\myuser\truelove5.dxf --output=c:\Users\myuser\truelove5.svg --scalemethod=auto You should be able to open this new svg file in a browser just by doubleclick it. Linux: Notes: Surprisingly complicated I am running this under AWS EC2.  Adjust your environment accordingly Reference:  https://superuser.com/a/1389548/909624 , read Third method, type 2 Steps Download the AppImage in main Inkscape site ( https://inkscape.org/release/inkscape-1.1.1/gnulinux/ ) Uplo