element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member Blogs KiCad 6 - Importing Complex Board Outlines as Vector Graphics
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fmilburn
  • Date Created: 15 Jan 2022 1:39 AM Date Created
  • Views 17441 views
  • Likes 11 likes
  • Comments 7 comments
Related
Recommended

KiCad 6 - Importing Complex Board Outlines as Vector Graphics

fmilburn
fmilburn
15 Jan 2022

KiCad has always had simple tools for creating board outlines but Version 6 now allows SVG vector graphic files to be easily imported.  The benefits of using SVG files include:

  • Access to powerful graphic applications outside of KiCad
  • Ability to use stock files from the internet
  • Easy scaling with no loss of detail

This blog will focus on creating a PCB outline but in a future post, I plan to use the same drawing in a demonstration of how to add art on different layers to a PCB.

Creating SVG Files

One way of obtaining SVG art is to search for and obtain it on the internet.  It is also possible to convert bit map files although they don't always convert well.  I'm going to create some art using Inkscape but other tools are available.  Inkscape is a free design tool that is powerful with a good online community and tutorials.  The details on how to use Inkscape will be left out - I'm a beginner and suggest tutorials if you are unfamiliar with the program and wish to use it.

I still like to draw by hand and after looking at cartoon dogs on the internet made the quick sketch below to my tastes and photographed it with my phone (I've been doing too much cat stuff recently).

image

The sketch was then imported into Inkscape and the outline was traced on a new layer using the Bezier curve tool as shown below.

image

The remaining detail was then added to new layers.  

image

Next, the drawing was resized although that could have been done when importing into KiCad. 

image

Since only the outline was needed at this point, it was isolated by leaving only that layer visible.  Inkscape does not appear to have an option to save a single layer (please correct me if I am wrong).  After selecting the outline it was copied over into another Inkscape window that was running and saved. 

EDIT: I was wrong :-)  See the explanation in the comments below by javagoza for a way to export individual layers.

The image below shows the outline ready to be saved.

image

Creating a Board Outline in KiCad 6

From this point on, the process is the same whether the image was created as done above or downloaded off the internet.

Open up the PCB editor in KiCad.  I started with a blank slate but the outline can be imported at any stage of the layout process.  

image

Select File-->Import-->Graphics and the following dialog box will open.

image

Navigate to where the SVG file is located and select Edge Cuts as the Graphic layer.  I've left the rest of the settings as defaults but please observe that the SVG file could have been rescaled at this point.  Press OK and the image should appear.

image

If the image doesn't appear or looks wrong then make sure the SVG file has a closed path with no extraneous lines on it.  This is how the demonstration image looks in the KiCad 3D Viewer.

image

Conclusion

KiCad 6 offers a much improved and simpler way of creating complicated edge cuts.  In the next blog, I intend to demonstrate how additional art and electronics can be added to the PCB.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 3 years ago +1
    Hi Frank, Nice sketch! The SVG import looks very clean too. This is another piece of functionality that is more straightforward with KiCad compared to EAGLE.
  • javagoza
    javagoza over 3 years ago +1
    Hi Frank, You can export all the layers as separate svg files You can use save as... or save as copy... Layers as Separate SVG (*.TAR) option
Parents
  • javagoza
    javagoza over 3 years ago

    Hi Frank,

    You can export all the layers as separate svg files

    You can use save as... or save as copy... Layers as Separate SVG (*.TAR) option

    image

    image

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • javagoza
    javagoza over 3 years ago

    Hi Frank,

    You can export all the layers as separate svg files

    You can use save as... or save as copy... Layers as Separate SVG (*.TAR) option

    image

    image

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • fmilburn
    fmilburn over 3 years ago in reply to javagoza

    Thanks!  That is both useful and well demonstrated.  I'll revise the post and put in a reference to your comment.  I still have a lot to learn about Inkscape.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube