A.Quarter.To.Seven

Some of Stef's Stuff

Inkscape SVG ready for Fritzing

by Stefano on 2015.05.12, one comment

Want create site? Find Free WordPress Themes and plugins.

The creation of a new part in Fritzing is based on the process of linking a “connector” to its shape in the vector graphics of each Breadboard, Schematic and PCB views. While a generic SVG is usually enough to provide the Breadboard view this is not the case for the PCB view where rules apply.

Problem

Using Inkscape to create the image for the PCB view is not ideal. Fritzing expects the graphics to be in a layer which id is “copper” while Inkscape assigns the layer name to the attribute “label” and defines an automatic id instead (see the pictures below).

On top of that if the “Plain SVG” format is used instead of “Inkscape SVG” the label attribute is lost upon saving.

The copper layer is mandatory in the PCB view and failing to provide it (or being poorly formatted) will cause the error in Fig.1. The silkscreen layer is not mandatory but if present follows the same id rule as the copper

Solution

Once the image is ready save it using “Inkscape SVG” and edit the group ids (in the <g></g> blocks) to the values Fritzing is expecting. The file can be modified afterwards and the id is retained.

Always use the Fritzing_Template.svg to create a new part.

Reference

http://stackoverflow.com/questions/27182272/change-svgg-id-to-inkscapelabel

Did you find apk for android? You can find new Free Android Games and apps.

One thought on “Inkscape SVG ready for Fritzing

Leave a Reply

Your email address will not be published. Required fields are marked *