(Invalid) Trouble with Custom Part SVG Alignment – Tips for Keeping Pin Connectors in Place?

Hi everyone,

I’ve been working on creating a custom part in Fritzing for a simple sensor module, and I’m running into some frustrating issues with aligning the SVG connectors. I’ve followed the part creation guide and started with Inkscape to create the SVGs (Breadboard, Schematic, PCB), but no matter how carefully I align everything, the connectors in the Fritzing editor seem to shift slightly or not line up with the expected snap points.

Here’s what I’ve tried so far:

  • Ensured all connector circles are on 0.1in (2.54mm) grid lines.
  • Used layers correctly (breadboard, copper0, copper1, etc.)
  • Set the correct IDs on the circles and verified they match the fzp file.
  • Checked that the SVG’s coordinate system hasn’t been changed inadvertently by Inkscape (e.g., viewBox offsets).

Despite this, when I load the part into Fritzing, the connectors sometimes show up misaligned or the part won’t connect properly to traces or wires in the PCB or Breadboard views.

Has anyone experienced this and found a reliable workflow or tool settings that help maintain connector accuracy? While exploring this, I came across some insights during an rpa training in bangalore that emphasized the importance of precision in design tools. Are there best practices for exporting SVGs from Inkscape that avoid this issue?

If anyone would be willing to take a look at my files, I’d really appreciate the help. Let me know what info you’d need.

Thanks in advance!

Upload your files either as a .fzpz (the complete part) or individual svgs (since this looks to be an svg issue.) Upload is 7th icon from the left in the reply menu and will accept .fzpz and svg files. One likely possibility is that your svgs are dimensioned in px rather than in or mm. Fritzing then guesses at the dpi value and often gets it wrong in which case the svg is mis scaled and thus not aligned correctly.

edit:

If you haven’t seen it this tutorial may help as well. If you are using Inkscape please use Randy’s schematic extension to make the schematic as it will automatically set the correct colors and sizes.

Peter