26 Mar
2013
26 Mar
'13
3:58 a.m.
On Mar 25, 2013, at 6:14 PM, Bric wrote:
Hi, Krzysztof:
So, I should focus on the first model. What I don't understand here is "to pass": What is doing the "passing"? From where to where? Do you mean simply parsing the svg file, using Perl/Python/whatever, completely outside and apart from Inkscape? Or is there some sort of integration with Inkscape -- as in, the script extends the Inkscape interface somehow?
The general approach for extensions is to invoke the script and then pass it the SVG xml through stdin. Then it processes the data and returns the new version to stdout. Extra settings, options, selection, etc. are passed in as parameters to the invoked script.