Hi guys.
Maybe the title is a little too violent
I meant that the solutions presented in http://www.wings3d.com/forum/showthread....hlight=svg didn't work at all in version 2.1.2.
I tried an SVG with just one (curved) line and many combinations of the options:
- From Inkscape, saved as normal SVG and as 'Plain SVG'
- Tried as Open curve ('internal error') and Closed curve. Imports nodes but no curve info (i.e. shows just a straight line).
- Tried to export from Inkscape as PS and EPS, import into Wings3d, with basically the same results (found a reference that PS/EPS import is broken?)
- Same curve seems to import correctly in blender.
- Strangely, a more complex SVG from Inkscape, with many open curves does _not_
create 'Internal errors', but doesn't import the curves either (again, nodes are imported but no curve info).
A separate question is why only closed curves/lines can be read?
I'd like to help debugging this but there's a language barrier (erlang) and absolute ignorance of debugging tools for same. I've installed erlang, and am starting a tutorial but I'd appreciate any useful pointers and suggestions!
EDIT:
Since writing this I did more tests, and until now, haven't been able to find any SVG which imports correctly:
- I created (manually) some very minimalistic, single object SVGs
- I used a pile of converters and graphics programs to import/convert/export SVGs
(BTW, Libreoffice/Openoffice Draw seems a nice vector graphics program)
- I used a similar quantity to check all I the SVGs for validity (see below)
Basically, I could not create a single SVG image which correctly imported in W3D.
A note on W3C SVG validator; I do get a lot of errors there, but most, if not all of them are not graphics related. As far as I can see, the importer doesn't do any checking.
Maybe the title is a little too violent
I meant that the solutions presented in http://www.wings3d.com/forum/showthread....hlight=svg didn't work at all in version 2.1.2.I tried an SVG with just one (curved) line and many combinations of the options:
- From Inkscape, saved as normal SVG and as 'Plain SVG'
- Tried as Open curve ('internal error') and Closed curve. Imports nodes but no curve info (i.e. shows just a straight line).
- Tried to export from Inkscape as PS and EPS, import into Wings3d, with basically the same results (found a reference that PS/EPS import is broken?)
- Same curve seems to import correctly in blender.
- Strangely, a more complex SVG from Inkscape, with many open curves does _not_
create 'Internal errors', but doesn't import the curves either (again, nodes are imported but no curve info).
A separate question is why only closed curves/lines can be read?
I'd like to help debugging this but there's a language barrier (erlang) and absolute ignorance of debugging tools for same. I've installed erlang, and am starting a tutorial but I'd appreciate any useful pointers and suggestions!
EDIT:
Since writing this I did more tests, and until now, haven't been able to find any SVG which imports correctly:
- I created (manually) some very minimalistic, single object SVGs
- I used a pile of converters and graphics programs to import/convert/export SVGs
(BTW, Libreoffice/Openoffice Draw seems a nice vector graphics program)
- I used a similar quantity to check all I the SVGs for validity (see below)
Basically, I could not create a single SVG image which correctly imported in W3D.
A note on W3C SVG validator; I do get a lot of errors there, but most, if not all of them are not graphics related. As far as I can see, the importer doesn't do any checking.
tart() from the erlang shell, which don't work with installed wings code since it's stripped of debug info, so you need to compile wings yourself.