How could i export dxf file to svg

Post here to ask questions about or get help with the scripting module of QCAD 2.1/2.2.

Moderator: andrew

Locked
chaudharyparesh
Registered Member
Posts: 1
Joined: Mon May 21, 2012 2:25 pm

How could i export dxf file to svg

Post by chaudharyparesh » Mon May 21, 2012 2:28 pm

I am going use first time .

i want to export any dxf file export in svg using command line with out gui


Is it possible ?

Waiting for reply.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: How could i export dxf file to svg

Post by andrew » Mon May 21, 2012 2:58 pm

QCAD 3 (currently release candidate 5) comes with a dwg2svg command line tool which converts DXF/DWG to SVG.

E.g.:

Code: Select all

./dwg2svg.sh -o output.svg example.dxf
If you are on Windows, you can use the attached zipped batch file (save it into the QCAD installation directory, where qcad.exe is).
Attachments
dwg2svg.zip
(269 Bytes) Downloaded 1539 times

Locked

Return to “QCAD 2.1/2.2 Developers”