Import SVG graphics to PCB

Bug #1728272 reported by Hildo Guillardi Júnior on 2017-10-28
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

It will be interesting create a new graphical type in Pcbnew (as graphical polygon, cicle, ...) to import SVG or others (vectorized) images formats for any layer and keep the resizable propriety [edit: spun out to new issue]

This will create the capability of add logos and others images to the board without convert it to components or be locked up to one PCB layer (to change it now is necessary to reedit in the library).

Even, the symbol library in PcbNew will be more versatile, not needing different sizes.

NOTE: resizable graphics is now a separate issue:

Changed in kicad:
status: New → Triaged
importance: Undecided → Wishlist
Maciej Suminski (orsonmmz) wrote :

This feature is partially implemented [1] in another branch. It needs to be finished and tested before merging.


I was think the feature more like in this video

The object image wasn't a package on library, but really a resizable object easy to import / change. Cause some time you don't know the size of the figure that will fit in the PCB.

The idea of SVG is because is a already vectorized and resizable image.

tags: added: feature.request
Jeff Young (jeyjey) on 2018-02-12
summary: - Import svg / other images
+ Import svg / other vector images

There is a branch that adds SVG import [1], but most likely needs a lot of rebasing and testing.


tags: added: dxf import svg
Nick Østergaard (nickoe) wrote :

@Orson, do you know if the branch will be rebased against master now that we have tagged 5.0.1? I would like to test this.

Changed in kicad:
milestone: none → 5.1.0
milestone: 5.1.0 → 6.0.0-rc1

If the SVG store need some file format modification (or add of some parameters) we have to postpone.
The Eeschema file already have a `$Bitmap` tag (not a SVG) but, so far I internally studied the PcbNew files don't.

description: updated
Maciej Suminski (orsonmmz) wrote :

Jean-Pierre has done an excellent work rebasing the branch, but I guess it will be merged in the 6.0 development branch.

Same tool should be useful at "page layout editor" and "Eeschema".

summary: - Import svg / other vector images
+ Import svg / other vector images at PCB

Fwiw this has been merged and can experimentally be tested with the advanced_config.

@Nick, do I have to compile by my self? (enabling some `advanced_config`)
Will it be not present at Nightly by default?

John Beard (john-j-beard) wrote :

Some bug admin here:

* Repurposed this bug to "import SVG" (which, IMO, will only be set to "committed" when the feature is complete and no longer requires advanced config)
* Remove "other formats". These should be specifically requested as new bugs. But I think it's better to focus on SVG and DXF as these are standard formats, widely used with mature software bases (LibreCAD, Autodesk, Inkscape and friends). Adding every vector format "just because" is probably a bad idea (and in future, should be devolved to plugins anyway).
* Spin out "reizing after import" to a new bug: this is not limited to SVG or even DXF, it's applicable for any graphical element:

summary: - Import svg / other vector images at PCB
+ Import SVG graphics to PCB
description: updated
John Beard (john-j-beard) wrote :

@Hildo you will not need to compile, you need to follow the instructions for advanced config in the "Developing/Testing" documentation:

Please note, any features enabled though the advanced config file are EXPLICITLY unsupported, are not considered "complete" and are not recommended for production use. Issues can be filed for it, but are unlikely to be prioritised.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers