New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading SVG file #12
Comments
Hey @T-bond, thanks for reporting this issue. The icon you are trying to convert contains two open paths with a large stroke width, which makes up the roof and walls. The shadow generator only works with closed paths. Inkscape has a cool little tool for exactly that purpose. If you select your path, go to "Path" -> "Stroke to Path" and the result will be two closed paths. That should work fine with the shadow generator. To illustrate what I mean: Does that makes sense? |
On a second thought, that should probably be included as part of a FAQ. Do you mind if I take your house icon as an example? |
Thanks. It worked. |
Yes, nice catch 😳 Chrome doesn't display anything at all (other than console), that's a 🪲! |
Hello.
I'm trying to load my SVG file, but I got js error in the Developer Console.
index.js:9 Uncaught TypeError: Cannot read property '_intersection' of null
(Google Chrome 52.0.2743.116 m (64-bit))
In Microsoft Edge:
The following popup appears:
My SVG file
It is a minified, simplified version of the svg made in Inkscape. (None of the option worked by default during export from Inkscape)
Simplified by: https://jakearchibald.github.io/svgomg/
I tried the example svg-s from this repo, and tried to edit the path, but it gives the same error.
There is a problem with the svg or with the generator?
The text was updated successfully, but these errors were encountered: