Synfig Project Forum

Forums for Synfig Project
It is currently Sat May 18, 2013 3:00 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Wed Aug 24, 2011 7:52 am 
Online
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4118
Location: Spain
Only forum moderators and administrators can see the emails. Anyway it is very easy to find nikitakit's email in any of his code commits. (http://synfig.git.sourceforge.net/git/g ... ;a=summary)
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Wed Aug 24, 2011 12:19 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
Genete wrote:
Only forum moderators and administrators can see the emails.


Ah, good to know that.


My email is in fact public knowledge (from the git repo), but for some reason I still feel uncomfortable posting it on public forums. It doesn't really make sense. I need to think about it.


Top
 Profile  
 
PostPosted: Fri Aug 26, 2011 7:34 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
Tushantin: the elf was a quite a good SVG file for testing purposes. I found and fixed three different bugs the converter had.

You can download the latest version off github: https://github.com/nikitakit/svg2sif/zipball/master. (The download links on the first post point to "stable", which is a previous version)


Top
 Profile  
 
PostPosted: Thu Sep 01, 2011 3:55 am 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
A new "stable" version of svg2sif is out. It's mostly bugfixes - there aren't any new features.

I've been running automated tests on the openclipart collection of SVG files, and that's turned up quite a few bugs. The only major problem remaining is the way that multiple subpaths are treated. I'll try to come up with a better algorithm for that in the near future.


Top
 Profile  
 
PostPosted: Thu Sep 01, 2011 3:57 am 
Online
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4118
Location: Spain
My full support is there!
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Fri Sep 02, 2011 2:02 am 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
A new stable version is now tagged. It fixes a few bugs, including a small mistake in the previous version that could affect a lot of SVG files.

The "shattered glass" bug is essentially all that remains to be fixed, unless testing turns up something else. (There's still numerous unsupported SVG features, some of them leading to crashes, but I'm considering those outside of the scope of the converter).


Top
 Profile  
 
PostPosted: Sat Sep 03, 2011 1:28 am 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
That last bug is fixed now... it turned out to have been a mistake on my part rather than a flaw in the algorithm.


Top
 Profile  
 
PostPosted: Tue Sep 13, 2011 4:47 am 
Offline

Joined: Tue Sep 13, 2011 4:32 am
Posts: 13
on work I use Win32.
I copied the files
synfig_fileformat.py
synfig_output.inx
synfig_output.py
synfig_prepare.inx
synfig_prepare.py
in:
D:\Programmi\Inkscape\share\extensions
but Inkscape 0.48.2 cannot see the extention, in Save as, I cannot see *.sif format.
Whats wrong?
thanks


Top
 Profile  
 
PostPosted: Tue Sep 13, 2011 5:21 am 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
I'm surprised that this wouldn't be working. I can't give a definitive answer (since I don't use Windows), but I'll do my best to go over some possibilities.

1. Is there a menu item in Inkscape called "Extensions>Synfig>Prepare for Export"? If there is it means that at least half of the extension loaded correctly (you can then skip ideas #2 and #3).
2. Are there other extensions in "D:\Programmi\Inkscape\share\extensions"? (If not, then I made a mistake and posted the wrong folder name)
3. Does the extension work if you place it in "Documents and Settings\<Your User Name>\Application Data\Inkscape\extensions"? (you may need to create this folder)
4. Is there a file called "extension-errors.log" located in either "D:\Programmi\Inkscape\share" or "Documents and Settings\<Your User Name>\Application Data\Inkscape"? If there are any errors with the extension, they would be recorded in this file and I could figure out what happened.


At the moment I can't come up with other possible problems. I hope this helps. If not, maybe someone at the Inkscape forums will have better ideas.


Top
 Profile  
 
PostPosted: Tue Sep 13, 2011 9:27 am 
Offline

Joined: Tue Sep 13, 2011 4:32 am
Posts: 13
nikitakit wrote:
I'm surprised that this wouldn't be working. I can't give a definitive answer (since I don't use Windows), but I'll do my best to go over some possibilities.

this evening I can try on Ubuntu

nikitakit wrote:
1. Is there a menu item in Inkscape called "Extensions>Synfig>Prepare for Export"? If there is it means that at least half of the extension loaded correctly (you can then skip ideas #2 and #3).

no

nikitakit wrote:
2. Are there other extensions in "D:\Programmi\Inkscape\share\extensions"? (If not, then I made a mistake and posted the wrong folder name)

yes, the folder is full of *.py and *.inx files

nikitakit wrote:
3. Does the extension work if you place it in "Documents and Settings\<Your User Name>\Application Data\Inkscape\extensions"? (you may need to create this folder)

no, the locale folder is:
C:\Documents and Settings\<user>\Dati applicazioni\Inkscape\extensions
but copying files there, does not work.

I also tried to create the folder:
C:\Documents and Settings\<user>\Application Data\Inkscape\extensions
and copy here the files, same results.

nikitakit wrote:
4. Is there a file called "extension-errors.log" located in either "D:\Programmi\Inkscape\share" or "Documents and Settings\<Your User Name>\Application Data\Inkscape"? If there are any errors with the extension, they would be recorded in this file and I could figure out what happened.

yes, it is in:
C:\Documents and Settings\<user>\Dati applicazioni\Inkscape
attached. It show many extention dependancy error, but seems nothing related to svg2sif

nikitakit wrote:
At the moment I can't come up with other possible problems. I hope this helps. If not, maybe someone at the Inkscape forums will have better ideas.

I will also try to post the problem on Inkscape forum.


Attachments:
extension-errors.log [2.07 KiB]
Downloaded 33 times
Top
 Profile  
 
PostPosted: Tue Sep 13, 2011 3:54 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
I'm completely at a loss as to why this doesn't work. The only other possibilities I can think of is that you haven't restarted Inkscape, or that you're somehow running a different copy of Inkscape.

I hope that you'll be able to sort this out.


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 6:57 am 
Offline

Joined: Tue Sep 13, 2011 4:32 am
Posts: 13
I have only one copy of inkscape installed on Win32, and every time I added files in a directory, I closed and restarted Inkscape


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 10:06 am 
Offline

Joined: Tue Sep 13, 2011 4:32 am
Posts: 13
posted:
http://www.inkscapeforum.com/viewtopic. ... 129#p38129


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 2:06 pm 
Online
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4118
Location: Spain
Hi nikitakit!
I've been playing a bit with the svg2sif extension and I just can say that it works wonderfully. It has been difficult to find any failure using the basic drawing tools and objects.
I have found two mistakes related to winding style:
When exporting objects made with the calligraphic tool or the polygon/star tool, the result doesn't keep the winding style, selecting Even/Odd instead of Non Zero for the sif file.
I think it will be easy to fix.
Congratulations!
-G


Attachments:
File comment: SVG file
star.svg [2.84 KiB]
Downloaded 35 times
File comment: SIF file
star.sif [13.8 KiB]
Downloaded 36 times
File comment: Rendered from Inkscape
star-inkscape.png
star-inkscape.png [ 22.62 KiB | Viewed 1089 times ]
File comment: Rendered from Synfig Studio
star.png
star.png [ 17.8 KiB | Viewed 1089 times ]

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D
Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 6:13 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
You're right, it was a very simple fix. Thanks for catching it.

A new stable version is out with that fix and a few changes related to code cleanup.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group