How to create the own breadboard?

Because all the FRANZIS-Advent calendars and some other suites for beginners are using the SYB-46 board, I wanted to create it for fritzing.


But sadly I can not using it in fritzing itself.
I have copied the file SYB-46.svg in .\fritzing-parts\svg\core\breadboard
Additional I have in .\fritzing-parts\core\ made a copy of breadboard2.fzp and copied it to SYB-46.fzp.
I edited then the file by replacing
<layers image="breadboard/breadboard2.svg">
<layers image="breadboard/SYB-46.svg">
and changing
module moduleId="Breadboard-RSR03MB102-ModuleID"
module moduleId="Breadboard-SYB46-ModuleID"

Then I added in .\fritzing-parts\bins\core.fzb

 <instance moduleIdRef="Breadboard-RSR03MB102-ModuleID" modelIndex="49" path="breadboard.fzp">
      <iconView layer="icon">
          <geometry z="-1" x="-1" y="-1"/>

my own

 <instance moduleIdRef="Breadboard-SYB46-ModuleID" modelIndex="49" path="SYB-46.fzp">
         <iconView layer="icon">
             <geometry z="-1" x="-1" y="-1"/>

But sadly it don’t work.
After starting Fritzing, there comes then the error message

Das folgende Bauteil konnte nicht gefunden werden:
‘Breadboard-SYB46-ModuleID’ bei ‘SYB-46.fzp’

Possible the SQLite database at .\fritzing-parts\parts.db have to be updated.
But I don’t know, how to do it. I can only edit the text files. But it seems, that is not enough.

If anybody wants to work with my SVG-file for youself, it have exactly the same license like the Fritzing parts. And if it is possible, it is also © by Fritzing.

I have now deleting .\fritzing-parts\parts.db and now it works. :slight_smile:
Not perfect, but its on an point I can continue. :grinning:

Ok, the most current problem is, to giving the pin holes names in an layer and giving the board the size, which fritzing understands.

Don’t know, why there is a problem, because I have used the original breadboard2 as basis for my one.

Here it is how it actually looks like

In Inkcape and Firefox ok, but in fritzing:

  • wrong size of the picture itself
  • wrong size if the marked area
  • text “SYB-46” on the right side in the wrong size
  • for fritzing the complete thing plus a lot of more area is one big pin hole.

Breadboards are special, and you have to edit (and know how to edit) the underlying files to make them work correctly (and they are generally a lot of work!) If you post your part as a .fzpz file I’ll have a look at it (I have made a number of custom breadboards for folks over the years …)


Your likely problem is that that the drawing is dimensioned in px (the original breadboard svgs are.) in 72dpi Illustrator. Current Inkscape is 96dpi thus the difference in size. The result is you need to rescale the svgs and set the dimension to in (or mm) not px. This tutorial may help:


@vanepp Thx for your answer.
But the size is the last main problem.

As you can see, all seems to works perfect. Only the size is too small.
I have already changed the svg file per hand. But it don’t help. :thinking:

And as you can see it is not only the size of the board itself. It is also the size of the text SYB-46 on the right side.

And here the two files:
The actualized SYB-46.svg:
and SYB-46.fzp:
SYB-46.fzp (110.7 KB)

I have had compressed it to zip, but this forum here, don’t allow to upload zip files.

As @vanepp pointed to, the height and width of the svg document element are specified in pixel (px) units.

<svg xmlns:dc="" xmlns:cc="" xmlns:rdf="" xmlns:svg="" xmlns="" xmlns:sodipodi="" xmlns:inkscape="" version="1.1" id="Layer_1" x="0px" y="0px" width="244.892px" height="127.334px" viewBox="0 0 244.892 127.334" enable-background="new 0 0 244.892 127.334" xml:space="preserve" sodipodi:docname="SYB-46.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">

Fritzing needs real world dimensions to reliably get the right size. “px” is a screen size, and the translation from that to really world units like inches or millimeters is not defined consistently. Different svg editors, and different versions of the same editor have defined that differently at different times. Fritzing tries to “guess” what the translation is supposed to be, based on other things in the svg file, but does not always get it right. This is one of the times it gets it wrong. So, to get this to work.

width="244.892px" height="127.334px"

needs to be changed to use units of “in” or “mm” instead of “px”, with the correct lengths in those units.

Also to note, the svg file does not contain the “breadboardbreadboard” layerId specified in the fzp file. The first group (g) element in the svg file has an id of “stripes”. That id needs to be “breadboardbreadboard”. Without that, the part will seem to work in Fritzing, but exporting the view to svg will not include the part.

That initial group element also includes a matrix transform. That has also been known to cause issues with Fritzing. To get rid of it, go back to Inkscape, select all, then ungroup several times. Group once, and set the id for the group to “breadboardbreadboard”.

This has the usual breadboard problems: the dimensions are in px (at 72 dpi from Illustrator as the breadboard was one of the first parts made.) Editing this in Inkscape (currently 96dpi) is what caused the size change. Unfortunately the pin IDs are groups, and ungrouping the svg (required to rescale it) will lose all the connector IDs. I’ll have a look, I think I corrected a half size breadboard (I know I did a full size one.) a while back. Your text problem is likely caused by not removing the px from the font-size statements in the svg. CSS demands the px on font size, Fritzing will set the font size to 0 if the px is present, so Inkscape output needs to be post processed before being fed to Fritzing. I use (which also checks for other types of errors), but editing the svg and removing all instances of px works as well. As @microMerlin pointed out, you also need the breadboardbreadboard layerId to convince Fritzing this is a breadboard. As well all the elements need to be in a group with the breadboardbreadboard layerId.


Must have held my nose correctly, I managed to get Inkscape to rescale your svg without ungouping it when that usually screws up. Its possible there are not constructs the rescaling doesn’t like in a breadboard. This will make fixing the various breadboards in core much easier. Loaded the svg:

Check that scale stroke-width is enabled (red circled icon on the main tool bar), then set drawing units from px (96dpi) to pt (72dpi) which changes the scale from 1.0 to 1.333.

Edit->select all then set the scale back to 1.0, and then click on the canvass to make the scale take effect. The image gets larger, changes its origin, and size and deselects. Edit->select all Edit->Resize page to selection (to reset the view box to start at 0 0), change display units from pt back to px, change units from px to in (to avoid scaling problems in future). Object->group and set the group id to breadboardbreadboard. Save as plain svg.

run the resulting svg through (which complains a lot because this is a breadboard!) to remove the px from the font size in the svg, recreate the fzpz file and all is well.

new-bb-new.fzpz (17.1 KB)



Thank you very much. Now it works. :slight_smile:

You have giving it the right size, you have give the font the right size and it is on the right position on the raster.