Skip to content

Instantly share code, notes, and snippets.

@itsmikita
Created November 29, 2021 20:16
Show Gist options
  • Save itsmikita/dfd003f24ac12e6a795e029d56c3a740 to your computer and use it in GitHub Desktop.
Save itsmikita/dfd003f24ac12e6a795e029d56c3a740 to your computer and use it in GitHub Desktop.
Fritzing Custom Part SVG
If you get an error importing your custom part SVG, here is the quick fix:
Basically Fritzing is looking for width and height attributes in the <svg />
tag, open the SVG in a texteditor and just add it manually. You can use 3rd
and 4th parameter from the viewBox attribute you find in <svg>.
However the correct SVG Options in Illustrator (NOTE: that SVG Options prompt
appears only when you Save As...) would be as follows:
SVG Profiles: SVG Tiny 1.2
Fonts Type: SVG
Subsetting: None
Image Location: Link
Decimal Placements: 3
Encoding: UTF-8
(Ingnore the rest)
That's the trick! I hope it helps!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment