• Bugs
  • Inkscape to Spine script

Related Discussions
...

Every time i use Inskcape to Spine scirpt, this message pop up.

Can someone help mi with this please? I do not know what to do :tear:

What version of Inkscape are you using?

3 months later

This script is outdated - the newest versions of Inkscape (1.0 and beyond) don't work. The export uses some deprecated code. I corrected the error in InkscapeToSpine.py, but the other errors are a bit trickier to find. Inkscape support suggested that I ask here. Is there anything I can do or anyone I can contact that might be a bit more knowledgeable about the extension?

4 months later

Today I invested some time in investigating this script and patching it up in order to work with Inkscape 1.x. Currently I have the export from Inkscape to Spine working. I still need to have a look at the PathsToSpine file. I will submit an MR and provide my changes to the community. I just need a little bit more time to patch things up. If everything works well I should be able to finish it in a few days.

For the time being this is the working version I have. I will however do a proper MR but for anyone interested here would be the code for InkscapeToSpine.py. I still need to add more comments etc. so keep in mind that this is a work in progress until I am finished...


Well I got some good news as well as not so good ones. I managed to fix the InkscapeToSpine script and make it compatible with Inkscape 1.x I also managed to resolve all deprecation warnings in PathsToSpine.py. However I am still getting errors in PathsToSpine regarding the is_line function. So here is my question. Should I still do an MR for both (with the PathsToSpine being partially broken) or should I not do an MR at all as I can imagine you would need to have both scripts functional, let me know what you guys think?

Thanks for your help! We went ahead and merged your PR. What is the error you see for is_line? Is it a warning about comparing floats? Note that warnings (and deprecation) are not generally errors and the resulting code can still work.