Page 1 of 1

Object to path in python extension?

Posted: Thu Nov 02, 2017 6:10 pm
by jondecker76
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!

Re: Object to path in python extension?

Posted: Thu Nov 02, 2017 10:07 pm
by Moini
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