Does anyone know how to implement extended xml tag editor in inkscape?
Before several years I wrote system for embroidery pattern generator from svg based on private xml tags, but simple XML editor included in inkscape makes it cumbersome.
Some very basic functionality of this stitch generator can be seen at: https://youtu.be/VKle5ApsMnA
Editor should have functionality very similar to interface of external scripts but before showing dialog, it should first collect actual data from svg by calling proper extension script method (eg .getparams() ) and prepare file similar to inkscape dialog definition file.inx with <param name= ... > and then dynamically generate dialog to allow user modify sewing parameters, after that call classical extension .effect() method to do changes in svg.
I want to implement it but I'm totally lost in inkscape source code. I think that all functionality is already somewhere in inkscape but I need someone to show me the way.
Tony
wow that is brilliant video. I hope someone can help you work out how to integrate it. We don't have an API yet for external programs to plugin.
On 12/2/2015 3:44 PM, A Sedlak wrote:
Does anyone know how to implement extended xml tag editor in inkscape?
Before several years I wrote system for embroidery pattern generator from svg based on private xml tags, but simple XML editor included in inkscape makes it cumbersome.
Some very basic functionality of this stitch generator can be seen at: https://youtu.be/VKle5ApsMnA
Editor should have functionality very similar to interface of external scripts but before showing dialog, it should first collect actual data from svg by calling proper extension script method (eg .getparams() ) and prepare file similar to inkscape dialog definition file.inx with <param name= ... > and then dynamically generate dialog to allow user modify sewing parameters, after that call classical extension .effect() method to do changes in svg.
I want to implement it but I'm totally lost in inkscape source code. I think that all functionality is already somewhere in inkscape but I need someone to show me the way.
Tony
Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7227 / Virus Database: 4477/11099 - Release Date: 12/01/15
participants (2)
-
A Sedlak
-
Mark Schafer