hjd
Jan. 23, 2014 07:24:10
Hi, ive created a test-icon in Inkscape and got the *.svg working with my custom SOP node, however for some reason certain shapes in the *.svg appear in the houdini UI but others don't.
Ive made a file showing the problem.
Squares, circles and free-hand shapes seem to work but other line-objects dont - are there any rules to creating svg icons that i'm missing?
( I'm deleting the icon-cache files after replacing the *.svg in the icons folder and re-starting Houdini each time )
Cyzor
Jan. 23, 2014 18:57:33
Your test SVG looks complete when I load into Houdini as an icon. All shapes present. Maybe try exporting using one of one Inkscape's alternative SVG formats.

Some applications can have trouble displaying vector images comprised of compound paths. Flattening everything into simpler shapes can help.
hjd
Jan. 24, 2014 05:06:45
Hi, i tried the simple-svg export but the problem persists. Has this been fixed recently ? ( im currently running 13.0.237 ). Some experimentation shows that at least locally some odd stuff is going on:
The red path has had its vertex under the circle cropped and the blue path has had multiple verts cropped (even ones that aren't under other shapes).
edward
Jan. 26, 2014 19:38:17
Are you on Windows? The SVG renderer on Windows is very old and won't be able to handle everything that Inkscape produces. On Linux, it should be fine though.
hjd
Jan. 27, 2014 04:28:17
Yes i'm on Windows 7 64Bit.
Is there a way to produce icons that will work fully - use a different app to author / convert the SVGs?.
edward
Jan. 27, 2014 23:25:14
I think Chronon's post has the best ideas. If it doesn't show up, I don't know how you can work around this other than to not draw with those more complicated shapes … ie. build them up from simpler ones.
goldleaf
Feb. 10, 2014 23:26:18
I noticed that under Windows, even native nodes could have problems. See the Voronoi Fracture.
Edward, are there plans to update the SVG library under Windows? It's obviously not as important as things like tbbmalloc issues, just curious!
hjd
Feb. 11, 2014 05:32:26
I've posted a bug about this to support.