Say, you have a vector drawing in your favourite drawing software. You need that to become your board outline. For that, you need a DXF drawing. What are other requirements?
- Proper dimensioning is a must. - it'll be hard (if not impossible at all) to scale the outline once it's imported, even more so if you want to have precise dimensions. When using online vector-to-DXF converters, know that they can omit/change the dimensions of the output, leaving you with a tiny or huge outline.
- KiCad requires specific DXF format with limited set of features used. When exporting drawings from your vector drawing software, you might need to use another tool to prepare your DXF before exporting (or not - it all depends on the way your drawing was created)
Say, you have a Chrismas tree vector in Inkscape.
It's correctly dimensioned and you export it in DXF, then import in KiCad:
Spooky. Somebody stole our Christmas tree along the way, leaving only a stump. Let's bring the Christmas tree back!We've got a DXF. Let's download and install LibreCAD. It's free, cross-platform and has a horrible learning curve if you don't use a tutorial - in short, a typical open-source project. I'll skip the "opening the DXF in LibreCAD" part, let's just look at it:
Something becomes clear - it's exported in a bad way from Inkscape, and importing only makes it worse. What we need to do is select all the image that we've imported - however, you can't do Ctrl+A and you never know how a heavily-customized UI like this one will respond to your clicks and, even worse, keyboard shortcuts. What you need to do is just select it using a mouse, by "drag and select" or how it's called - hopefully, you understand what I'm talking about.
Once selected, do Tools->Modify->Explode . You'll get your image divided into smaller segments and you can now delete only the offending ones.
Should be good now! Do File->Save as... the output format you'll want is R12 DXF. Saved, let's import it:
Just for reference:
My Inkscape DXF export settings:
Tutorial metadata: KiCad 4.0.4-stable, Inkscape 0.91, LibreCAD 2.1.3, tutorial done on 16.12.2016