Is there any scripting SVG editor?

旧城冷巷雨未停 提交于 2019-12-05 05:41:15
nosklo

You could use something like lxml - after all SVG files are XML. It's available from PyPI pip: https://pypi.python.org/pypi/lxml/

I don't know if you could do what you describe, but Inkscape supports some degree of scripting with Python.

Sanjay Manohar

Very late answer, but in case it helps anyone, I have written a very small extension for Inkscape that allows writing short python code snippets from within Inkscape.

You can type up to 5 lines and iterate over objects in the current selection or in an XPath. Includes some code examples.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!