Help me to please t write a script for Inkscape

General discussions about Inkscape.
Khach

Help me to please t write a script for Inkscape

Postby Khach » Wed May 28, 2008 8:13 pm

Help me to please t write a script for Inkscape.
I wish to write a script for exporting svg iles to dxf.
If it is not so difficult please explane me how can I do it>
Thanks a lot

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Help me to please t write a script for Inkscape

Postby microUgly » Wed May 28, 2008 8:29 pm

Inkscape can already save as DXF. Or are you looking to automate the conversion of many SVG files at once?

Khach
Posts: 3
Joined: Wed May 28, 2008 8:16 pm

Re: Help me to please t write a script for Inkscape

Postby Khach » Wed May 28, 2008 8:58 pm

Yes you are right.
I looking for automatic conversation from svg to dxf.
Imagine you have a folder and ther is about 1500 and more svg files *_0000.svg, *_0001.svg, *_0002.svg ....

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Help me to please t write a script for Inkscape

Postby microUgly » Thu May 29, 2008 9:11 am

Take a look at the Inkscape command line wrapper for Win32 - http://kaioa.com/node/63
It might allow you to do this.

Khach
Posts: 3
Joined: Wed May 28, 2008 8:16 pm

Re: Help me to please t write a script for Inkscape

Postby Khach » Thu May 29, 2008 3:33 pm

Iam so sorry, Iam not a programer

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Help me to please t write a script for Inkscape

Postby microUgly » Thu May 29, 2008 4:24 pm

Khach wrote:Iam so sorry, Iam not a programer

If you're saying that because you seen the code on that page, skip past it and download the exe at the bottom of the page.

Khach
Posts: 3
Joined: Wed May 28, 2008 8:16 pm

Re: Help me to please t write a script for Inkscape

Postby Khach » Thu May 29, 2008 6:34 pm

I put it in the same directory.
What I have to do then?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Help me to please t write a script for Inkscape

Postby microUgly » Fri May 30, 2008 8:59 am

find the command line option that allows you to save an SVG as DXF - http://inkscape.modevia.com/inkscape-man.html

Note that I have no idea if what you want to do is possible. I'm just giving you the information to find out for yourself.


Return to “General Discussions”