Re: General Purpose Python Scripting for Inkscape.
[email protected] Fri, 22 Mar 2019 23:27:00 -0400
| Newsgroups | gmane.comp.graphics.inkscape.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Frank MartÃnez, This work looks really exciting. I'd love to get you in touch with Thomas Wiesner who has done a similar work in progress merge request: https://gitlab.com/inkscape/inkscape/merge_requests/417 This functionality is similar, although not exactly the same. I believe though that issues around how python accesses the internal svg document are going to be the same. The landing plan for such a feature would have to be post 1.0, so if you were able to produce a branch on GitLab, then we would review it but only want to merge it in after the 1.0 release is out the door. You can also join us at https://chat.inkscape.org to talk more to other developers as well as sending your message to the inkscape-devel mailing list. Best Regards, Martin Owens On Fri, 2019-03-22 at 20:42 -0500, Frank MartÃnez wrote: > Hi Guys, > > Inkscape is amazing!, I am a professional software developer, I have > been working in an embedded scripting plugin for Inkscape, I started > doing it for my own purposes (designing electric guitars and CNC > parts) And now I have complete support for python scripting inside > inkscape. I will release the code as open source in Github or Gitlab > as soon as I can write some documentation. The attached screenshot > shows how it looks. The plugin has its own code editor with syntax > highlight, compilation check, and run. It uses only python and gtk3, > my working environment is Linux Mint, I am not sure if it will work > out of the box in windows or mac yet, but i am pretty sure it will > run in all platforms eventually soon. > > The scripting environment gives full access to the svg document, xml > manipulation and also Object Oriented wrappers (mainly for path > creation and manipulation). Full python environment is also > available. The scripting code is stored inside the document (<script> > tags) and you can import external libraries too of course. > > I hope some contributions will make the project better with time. > This is not a macro system, you can not record actions or invoke GUI > actions, you can just write scripts inside the document and > manipulate the document itself, move, transform, change attributes, > create objects etc.. from python scripts. > > All your feedback will be welcome and I will be very pleased if the > project result useful for the community. > > Cheers, > > Frank. > > _______________________________________________ > Inkscape-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/inkscape-user _______________________________________________ Inkscape-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/inkscape-user