Object to path in python extension?

Discussion about writing code for Inkscape.
jondecker76
Posts: 1
Joined: Thu Nov 02, 2017 5:29 pm

Object to path in python extension?

Postby jondecker76 » Thu Nov 02, 2017 6:10 pm

Hello,

New here and I have a few questions.
I'm writing a vinyl cutter extension that has the features that I need (I've used both Inkcut and the build-in plot extension with good results, but I have some more advanced needs).

I can't seem to find any kind of decent API reference for writing extensions. What I'm looking to do is object to path programmatically with python. Does anyone know where I can find references on how to do this?

Thanks!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Object to path in python extension?

Postby Moini » Thu Nov 02, 2017 10:07 pm

See https://inkscape.org/en/develop/extensions/ and linked wiki pages

For Inkscape command line options, please see:

Code: Select all

$ man inkscape
(or https://inkscape.org/doc/inkscape-man.html)

For available verbs, please look at the result of

Code: Select all

$ inkscape --verb-list | grep -i path
returns (among others)

Code: Select all

ObjectToPath
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Programming”