How to make custom pcbs for Fritzing using Inkscape.
Needing to make a fairly simple 2 sided pcbs that was not a standard square or circle variant used in Fritzing I found any info very lacking on the web. Here I hope to show you how to accomplish that fairly painlessly. There are a few examples on how to do but they're old and vague. I hope for the average user this guide will attempt to make it as painless as possible as to show the basics of designing a custom pcb. I will be using Inkscape on a Mac but it should very similar on other os's.
You can download this repository for the .svg file used in this how-to.
You can download Inkscape here:
Step 1.
1.1
Fire up Inkscape and create a new file with no_boarders.
1.2
Open Document Properties...
1.3
- Change Default units to millimeters.
- Change Units to millimeters.
1.4
- Select Grids tab and click New.
1.5
- Select Grid.
- Change Grid Units to millimeters.
- Choose a Spacing X.
- Choose a Spacing Y.
Step 2.
2.1
- Open Layers... up.
2.2
- Rename this layer to "board".
2.3
- Add a new layer.
- Name it "silkscreen".
- Select Below Current.
- Click Add.
2.4
- Add a new layer.
- Name it "silkscreen0".
- Select Below Current.
- Click Add.
2.5
Now you have three layers. Board layer is the pcb. Silkscreen is the top silkscreen layer and silkscreen0 is the bottom silkscreen layer.
Step 3.
3.1
- Select "board" layer.
- Select "Star" tool.
- Use either one.
- Select number of corners.
- Draw pcb shape.
3.2
- Set "width" to something reasonable.
- Set "height" to something reasonable.
3.3
- Select shape.
- Double click Fill.
- Select flat color.
- Change color to what you want, light colors work best.
3.4
- Select Stroke paint.
- Make no paint.
3.5
- Select Duplicate.
3.6
- Select "Layer" and Move Selection to Layer Below.
3.7
- Select "silkscreen" layer.
- Select Duplicate.
3.8
- Select "Layer" and Move Selection to Layer Below.
Step 4.
4.1
- Lock "board" layer.
- Unlock "silkscreen" layer.
- Lock "silkscreen0" layer.
- Select graphic.
- Select Fill "no paint".
4.2
- Select Stroke paint.
- Set RGBA to "ffffffff".
4.3
- Select Stroke style.
- Set Width to "0.1" mm.
4.4
- Lock "board" layer.
- Lock "silkscreen" layer.
- Unlock "silkscreen0" layer.
- Select graphic.
- Select Fill "no paint".
4.5
- Select Stroke paint.
- Select flat color.
- Set RGBA to "ffffffff".
4.6
- Select Stroke style.
- Set Width to "0.1" mm.
Step 5.
5.1
- Select XML Editor....
5.2
- Select "silkscreen0" layer.
- Select "id" Attribute.
- Change "id" Value to "silkscreen0".
- Click Set.
5.3
- Select "silkscreen" layer.
- Select "id" Attribute.
- Change "id" Value to "silkscreen".
- Click Set.
5.4
- Select "board" layer.
- Select "id" Attribute.
- Change "id" Value to "board".
- Click Set.
Step 6.
6.1
- Select Document Properties....
6.2
- Select "page" tab.
- Select Resize to content....
- Click Resize page to drawing or selection.
Step 7.
7.1
- Select Save As....
7.2
- Select Plain SVG.
Step 8.
8.1
- Open Fritzing to PCB tab, select the pcb and click load image file.
8.2
- Select .svg file we just made and click Open.
8.3
Click OK.
8.4
Now we see the pcb we just created!