# Making PCB Jewelry & Art with Gingerbread and KiCad

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/120/328/medium800/wearables_Floppy_Both_Sides.png?1681935190)

Art takes many forms. For some, seeing art on printed circuit boards (PCBs) has particular appeal, bridging the design and the geekiness of circuit boards.

While several folks have published methods of transferring their art to PCBs, some guides use software that is out of date or requires a high level of technical skill. This guide uses the latest versions of popular software, so hopefully it will get you started without too much of a learning curve!&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/120/538/medium800/components_20230428_100135.jpg?1682690661)

## Software

[**KiCad Version 7.x**](https://www.kicad.org/) - KiCad 7 is the latest iteration of the venerable PCB design software. It came out in February, 2023, and so other tutorials using earlier versions are likely out of date as to the steps used to make art. For this tutorial, KiCad 7 is used to import art into a component footprint which is used to define the board files for the PCB manufacturer. The software is free - a donation is requested to keep development going.

[**Gingerbread**](https://gingerbread.wntr.dev/) - a web-based tool hosted on [Winterbloom](https://winterbloom.com/) by Thea Flowers. Taking a specially formatted vector file SVG, Gingerbread parses the file into the footprint layers. The results can be pasted into the KiCad footprint editor to make the art into a PCB. **The author notes:**"This tool is _extremely_ tailored to Winterbloom's needs. It's not perfect, it's not universal, and it probably won't work the way you think it will. Because of this, it comes with no warranty and no promise of support - again, **we won't be providing any free support for this."** The code is on GitHub and the GitHub repo notes other similar programs. Free to use without support.

[**Affinity Designer 2**](https://affinity.serif.com/en-us/designer/) - used to make SVG files that Gingerbread accepts. Similar programs are Adobe Illustrator and Inkscape, but they may not produce the precise type of file Gingerbread accepts, so substitution would be the user's choice (without support). $70 and **there is a free 30 day version that has all the features needed**.

# Making PCB Jewelry & Art with Gingerbread and KiCad

## How This is Done

![](https://cdn-learn.adafruit.com/assets/assets/000/120/356/medium800/wearables_Cat_both_sides__in_one_picture.jpg?1682086985 Lucky OSHCat SAO by TwinkleTwinkie (used with permission from creator, note this board has art and a simple circuit on the back))

To create images on a computer, there are a number of methods to do so. Generally, they involve either pixel-level editing (Windows Paint, Mac Paint, Adobe Photoshop, Affinity Photo, etc.) and vector-level editing (Adobe Illustrator, Affinity Designer, Inkscape, etc., and even Microsoft PowerPoint). Vector editing uses lines and curves to make up objects in an art piece while pixel editing takes groups of individual pixels (dots). While pixel editing is more common, it is vector editing that allows for very easy changes to a design.

Typical editors of both types tend to rely on a layered design. While Windows Paint is only a one-layer editor (if you overwrite something, it is now part of the image), layers can be thought of as a stack of pictures that when added together form a complete image.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/785/medium800/components_Image_Layers2.png?1683139841)

Layers work particularly well as PCBs are also made up of layers.&nbsp;

## What Makes a Printed Circuit Board?
![](https://cdn-learn.adafruit.com/assets/assets/000/120/334/medium800/wearables_Slide1.png?1681940895)

The substrate, a fiberglass layer usually designated FR-4, is not changeable by the PCB design. It is similar to a canvas with the color being whatever the board house uses, typically greyish, perhaps greenish.

Copper layers are on either side of the substrate (for a two-sided board which is typical for our use) and can be milled into many shapes.

Solder mask layers are used on the PCB to insulate the copper from the surface and are handy to manipulate for art.

Finally, silk screen layers provide the last bit of customization as to printing on a layer and usually text or designs are on these layers.

Holes may be drilled through the PCB during manufacturing, if you wish, for decoration or as a way to hang your art.

The silkscreen, solder mask, and copper afford three layers for customization. Some designs even use the lack of these three layers, exposing the substrate, to be a fourth layer.&nbsp; The art process will specify the shapes of the three layers to make an artistic piece. With a two-sided board, there is an opportunity to either make a one-sided piece or a two-sided piece.

Another thing you can specify is the boundary of the art piece. This is designated End Cuts, as a mill will route an outline around your board.

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Mapping Art Layers to PCB Layers

## Mapping Art Layers to PCB Layers

This is the magic in PCB art - taking a vector drawing and converting it into a circuit board. To make this happen, this guide uses Gingerbread by Winterbloom.&nbsp;

To achieve this, the image layer names are chosen to match the PCB "sandwich" shown below. On each side of the PCB, there is the silkscreen, solder mask, copper, and unchangeable substrate.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/357/medium800/wearables_PCB_Layers.png?1682088192 Click the drawing for larger sizes)

The layer names are on the left in the image and correspond to the layers shown at right.

Info: 

## A Very Important Note on How Layers are Specified

For the Front and Back silkscreen layers -- `F.SilkS` and `B.SilkS` -- and for the Front and Back copper layers -- `F.Cu` and `B.Cu` -- material will appear in KiCad wherever you draw a shape in the design.

For example, if you draw a Copper Circle, that is where the copper will appear in the copper layer.

If you draw a shape on a silkscreen layer, the silkscreen color will be deposited. It may be up to the board manufacturer if silkscreen can be printed on copper without a solder mask between. If you can, it might be best to specify silkscreen below areas you want to have silkscreen.

KiCad and Gingerbread treat the Front Mask `F.Mask` and Back Mask `B.Mask` as inverted! Where there are items in these layers, the solder mask will NOT be present. **The preview in Gingerbread will show the mask layers as they would appear on the printed board.**

![](https://cdn-learn.adafruit.com/assets/assets/000/120/359/medium800/wearables_Winterbloom_seal.jpg?1682090301 A weasel on the Winterbloom Gingerbread page. The Edge.Cuts follow the non-geometrical shape. There are no Drill holes in this design.)

Edge Cuts and Drills are special also. The `Edge.Cuts` layer specifies the outline of the circuit board. This could be simple, like the nearly square floppy earrings on the Overview Page. Or the design may be more complex like the weasel above. For interior edge cuts, see the FAQ below.

The `Drills` layer is very special also: Gingerbread walks through all of the shapes in that layer and converts only circles into corresponding non-plated, through hole drills in KiCAD. It is very easy to draw an ellipse instead of a perfect circle. Don't! Gingerbread will ignore non-round shapes in the `Drills` layer.

So, if your Gingerbread `Drills` layer does not show a hole, it is not that another layer has "covered it up" - likely the object is not circular.

## Debugging Image Layer to PCB Layer FAQ

Q: I drew circles in the `Drills` layer but they don't show up in [Gingerbread](https://gingerbread.wntr.dev/).

A: Check they are indeed circles and not ellipses - the horizontal and vertical dimensions of a circle must be exactly the same. A physical drill can technically only drill round holes (end mills are used for slots).

Q: On a Mask layer, the material is where I don't want it and not where I specified.

A: The `F.Mask` and `B.Mask` layers are special. You must draw where you DON'T want mask material.

Q: Besides outside Edge cuts, can there be interior cuts?

A: Circular drill holes are the most common. But yes, some PCB manufacturers allow for cuts within the PCB outer perimeter. Be sure your manufacturer can handle such cuts. The gear below on the [Winterbloom Gingerbread page](https://gingerbread.wntr.dev/) has four interior cuts.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/358/medium800/wearables_winterbloom_gear.png?1682090082 A stylized gear design by Winterbloom with four grey cutouts closest to the interior of the white circle.)

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Making 5.25 Inch Floppy Disk Jewelry

![](https://cdn-learn.adafruit.com/assets/assets/000/120/360/medium800/wearables_3.5_earrings._cropjpg.jpg?1682092006)

While some PCB art tends to be a bit chunky (think 2 square inches or so), nothing says you cannot make items smaller.&nbsp;

PCB manufacturers typically price design fabrication by the square inch. So I decided to make 1 inch (2.54 cm) square 5-1/4"-style floppy earrings with PCBs. They will go next to the 3-1/2"-style floppy earrings I wear frequently that are made out of plastic (above). They are also about 1" square so they should weigh roughly the same and dangle similarly.

Board manufacturers typically specify how many copies of the board you will receive in your order. Three or five is typical and you can always order more. I ordered from OSH Park, which provides a minimum of three, which will make two earrings and one pendant out of the order, which works very well.

You don't need to lay out multiple copies of your board design on a panel, that is done by the board house.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/361/medium800/wearables_floppy525.png?1682092401)

The image above is a free clipart depiction of a 5.25" floppy disk. I used this as a visual model for sketching my own design in Affinity Designer 2.

## Creating the Floppy Design in Affinity Designer 2
Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/120/362/medium800/wearables_Floppy_Both_Sides.png?1682092586 The front and back renderings of the 5.25" Floppy Jewelry done by the OSH Park board manufacturing house.)

To create a new layer, select **Layer** in the top menu then **New Layer**.

![wearables_layer.png](https://cdn-learn.adafruit.com/assets/assets/000/120/490/medium640/wearables_layer.png?1682529452)

The new layer appears on the right side of Affinity Designer 2. If you click on the word **Layer1** that is circled here, you can change the name of the layer to match the layer you are working on, such as `F.Cu` or `F.SilkS`.

![wearables_layer2.png](https://cdn-learn.adafruit.com/assets/assets/000/120/493/medium640/wearables_layer2.png?1682529621)

The design of the 5.25" floppy consists of:

- An `Edge.Cuts` layer with a 1" x 1" rounded rectangle.
- An `F.SilkS` layer with a rounded rectangle in the upper left corner as the floppy front label.
- A `B.SilkS` layer with a rounded rectangle in the upper left as a floppy back label (as I wanted it to look like a floppy if it twisted around)
- A `Drills` layer with three holes: a small one in the upper right for earring wires, a large central Hub hole, and a smaller index hole to the right and below the hub hole.
- An `F.Cu` layer and a `B.Cu` layer that spans a bit beyond the silkscreen areas so as to not show a gap.
- `F.Mask` and `B.Mask` layers that have two rounded rectangles for the surface medium at the bottom of each side, a circle bigger than the hub drill hole to expose some material, and a bit bigger circle around the index hole. **Remember this layer you put things where you DO NOT want the solder mask applied.**

If you open the Affinity Source File, you can browse each layer and see the shapes that make up the Floppy design. You can change things to suit your own design if you wish.

![wearables_layers.png](https://cdn-learn.adafruit.com/assets/assets/000/120/495/medium640/wearables_layers.png?1682529849)

[Click here to get the .afdesign file used for the floppy disk pattern](https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/PCB_Art_Jewelry/525floppyGuide.afdesign?raw=true)
To keep it simple, I did not include any edge notches.

In Affinity Designer 2, the layers look like this:

![](https://cdn-learn.adafruit.com/assets/assets/000/120/364/medium800/wearables_525_Affinity_Layers.png?1682093632)

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Exporting for Gingerbread

Primary: 

To export the file from the native .afdesign format to an SVG file for Gingerbread, go to the **File** menu and click the **Export** option.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/498/medium800/wearables_Export0.png?1682531172)

At the top of the dialog box of options, select SVG.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/497/medium800/wearables_Export.png?1682530898)

The current Gingerbread site has a picture of the export settings for a previous version of Affinity Designer. The current version is Affinity Designer 2 (or higher) and the menu changed.

The settings below map to the ones Gingerbread wants. If the Raster DPI is blank, do not set it using the dropdown. Manually type in 2540.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/499/medium800/wearables_Export2.png?1682531221)

Once all the settings are correct, click the Export button in the lower right to save the file as an SVG file. This is the file you will drag and drop in the Gingerbread application (note: not the .afdesign file, Gingerbread only takes especially formatted SVG files).

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Using Gingerbread

Open Gingerbread by going to [gingerbread.wntr.dev](https://gingerbread.wntr.dev/) in your modern web browser. You'll see a screen like the one below.

There are three example designs you can look at to see how Gingerbread does its thing. You can also download the associated .afdesign files and look at how they were created in Affinity Designer.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/500/medium800/wearables_Gingerbread.png?1682531641)

## Open your SVG

In your file application (Windows, for example, would be File Explorer), open up the directory containing your SVG file made with Affinity Designer 2. Drag the SVG file to the blank area below the existing examples.

If Gingerbread parses the SVG file as valid, you will have a screen similar to the one below:

![](https://cdn-learn.adafruit.com/assets/assets/000/120/501/medium800/wearables_Gingerbread2.png?1682531765 Gingerbread with the SVG file for the floppy disk earrings loaded)

You can toggle the layers on and off in the lower right. You can change the color of the solder mask and silk layers for better viewing.

Use the view to make sure all the layers are the way you want. You can separate the layers and view the back with the black buttons at the bottom of the frame.

Warning: 

As an example of the warning above, you can use any colors you wish in Gingerbread, but for the OSH Park normal service, the Solder Mask color is purple and the silkscreens are white. You can change to their Black PCB service "After Dark", but that only provides a Black solder mask. Other PCB fabricators, such as JCLPCB and PCBWay, may have more flexible options. Be on the lookout.

## Ready to Export to KiCad

If the design is looking like you want it, you then click the "Export to Clipboard" button in the lower right part of the window. This will load the clipboard with the data the KiCad Footprint Editor expects for a new footprint (part).&nbsp;

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Pasting the Gingerbread Data into the KiCad Footprint Creator

At this point, you should have used Gingerbread to load your clipboard with footprint data.

Open KiCad. As of this guide, the version is 7.x. You should get the following screen if you've opened the main KiCad application and not one of the submodules:

![](https://cdn-learn.adafruit.com/assets/assets/000/120/502/medium800/wearables_KiCad.png?1682533403)

The key thing to know at this point is to NOT open the PCB Editor. **Open the Footprint Editor**.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/503/medium800/wearables_footprint.png?1682533534)

Click the New Footprint Icon (circled in red on the left) or use **File -\> New Footprint**.

Select a name for your footprint -- since it isn't a standard component, for the **Footprint Type** select **Other**.

The text that appears is used in a standard circuit. As we do not want our design labeled by KiCad, click each line of text and press the **Delete** key to get rid of it, giving a blank slate in the central footprint area.

![wearables_footprint2.png](https://cdn-learn.adafruit.com/assets/assets/000/120/504/medium640/wearables_footprint2.png?1682533675)

In the central footprint window, right-click and select **Paste**. Or use **File -\> Paste**.

If the Gingerbread data is still in the clipboard, it will paste your design into the Footprint Creator. If it doesn't, go back to the Gingerbread web window and press the **Export to Clipboard** button again and try to paste once more in KiCad.&nbsp;

## Saving Your Footprint in KiCad
![](https://cdn-learn.adafruit.com/assets/assets/000/120/508/medium800/wearables_footprint5.png?1682534394)

You should then see your design. Move it so it is centered in the footprint area and click your mouse to "drop" it.

You'll rarely need to do anything else here. If there is anything you want on the PCB that is not available in the Affinity Designer -\> Gingerbread -\> KiCad workflow, you can do that now. Most times, you can just select **File -\> Save** and you'll get a dialog to save the footprint.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/507/medium800/wearables_footprint6.png?1682534330)

You should look to make a new library for your design - I selected "Anne". Do this using the **New Library** button located on the lower left. I named this footprint "Floppy". Click **Save**.

Now you have your design in a footprint library, congratulations. Nearly done! Yes, it's a lot of steps, but worth it when you open that package from the board fab with your design.

# Making PCB Jewelry & Art with Gingerbread and KiCad

## KiCad Use and Exporting Files

![](https://cdn-learn.adafruit.com/assets/assets/000/120/509/medium800/wearables_KiCad.png?1682539725)

With your art graphic in a KiCad library, you are ready for the process to turn it into a PCB! Yay!

If you don't already have a project, click **File -\> New Project**. Select the name representing your design.

Go back to the main KiCad menu and click on **PCB**  **Editor** (the green one).

The PCB Editor looks like the screen below:

![](https://cdn-learn.adafruit.com/assets/assets/000/120/510/medium800/wearables_KiCad_pocb.png?1682539919)

Near the upper right is an icon of a chip. That is the **Add a Footprint** tool. Click it and you get a window to select a footprint. Select your footprint library and your design.

Place it in the center of the PCB editor window.

Zoom out if necessary to see your entire sheet.

![wearables_kicad_2.png](https://cdn-learn.adafruit.com/assets/assets/000/120/511/medium640/wearables_kicad_2.png?1682540128)

![wearables_kicad_3.png](https://cdn-learn.adafruit.com/assets/assets/000/120/512/medium640/wearables_kicad_3.png?1682540240)

Generally, that's it, you can save your design into a file that should end in a .kicad\_pcb file extension. Making multiple copies of the design in the PCB file are not needed - you can specify how many you want with the board manufacturer.

## Creating the Gerber and Drill Files

While some PCB manufacturers can take a KiCad data file directly for a design, the introduction of KiCad 7 in 2023 has some manufacturers behind on supporting the new file format. No worries, we'll export the files needed. Select **File -\> Fabrication Outputs -\> Gerbers** shown below.

![](https://cdn-learn.adafruit.com/assets/assets/000/120/513/medium800/wearables_kicad_4.png?1682540710)

Use the **Plot** button to generate the Gerber files. I recommend making a subdirectory under your project to put them in. After that press the **Generate Drill Files** button. Save the files in the same directory as the Gerber Files.

These files describe exactly what each layer should have with the drill files showing the exact place to have holes drilled.

Go to the directory with all the generated files. Zip all the files into one Zip file package. If a board house cannot use KiCad 7 files, they will definitely use the raw files, most often sent in a single Zip file.

[Click to download the KiCad 7 file from GitHub for the floppy disks](https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/PCB_Art_Jewelry/525floppy.kicad_pcb?raw=true)
# Making PCB Jewelry & Art with Gingerbread and KiCad

## Fabricating Your Design

Now the fun part! Choosing where you want to have your boards made. Adafruit does not endorse any particular manufacturers and browsing through guides that make boards, different companies are used. It is your choice. There are several companies in China, in the US, and in Europe.&nbsp;

For this project, I specified OSH Park in the US. That provides closer geographic manufacturing but puts constraints on what can be manufactured. OSH Park's standard solder mask is purple and silkscreen white. Sending them to other manufacturers often provides more choices.

OSH Park only imports KiCad 6 and earlier, not KiCad 7 (as of this guide being first released). Therefore the Zip file of Gerbers and Drill files is needed.

[Download a Zip file of the Gerber and Drill files for the floppy disk design](https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/PCB_Art_Jewelry/525floppyGERBERS.zip?raw=true)
![](https://cdn-learn.adafruit.com/assets/assets/000/120/514/medium800/wearables_osh.png?1682541372)

I pressed the **Browse for Files** button and selected the Zip file. If everything has gone well, they will show you the design. They charge $5 for 3 boards of 1 square inch each (You cannot order just one board). That is fine, I want two for earrings and one for a pendant.

If the manufacturer finds issues that need resolving (like no drill files found), they'll tell you.

Some manufacturers will allow you to specify the solder mask color and possibly the silkscreen color at this point.

Provide your payment information, contact information, and how fast you want the boards. I paid extra for "speedy service". The company will then provide confirmation and often tracking information as the manufacturing process proceeds.

Info: 

## Receiving Your Boards Back from the Manufacturer
![](https://cdn-learn.adafruit.com/assets/assets/000/120/517/medium800/components_20230427_152916.jpg?1682623909)

Here are the boards as received from OSH Park. Beautiful! The outside ones are on the front side, and the center one is flipped over to the back (showing the hole mirrored).&nbsp;

Notice the little bits on the edges. Sometimes called mouse bites, they are the remnants of the connections between boards when the large panel was laid out.

Warning: 

You can use a rotary tool with proper eye/lung protection to remove the excess but there is a risk of removing too much. For these small ones, I'll use a file carefully.

# Making PCB Jewelry & Art with Gingerbread and KiCad

## Results

![](https://cdn-learn.adafruit.com/assets/assets/000/120/537/medium800/components_20230427_204814.jpg?1682689044)

The jewelry mounts were from stock at [Fire Mountain Gems](https://www.firemountaingems.com/search?searchtype=Shop&keywords=earring+hooks) online, although Amazon and many, many others carry such supplies. Earring hooks and hardware are also in the US at Michaels and other craft stores. A jewelry store might be able to do such work at a higher cost. Be sure you do not have an allergy to whatever metal(s) you choose.

Besides the hooks, you'll want small [split rings](https://www.firemountaingems.com/search?searchtype=Shop&keywords=split+rings) and head pins to put through the design to fasten the floppies to the split rings. If you use split rings only, use a bit bigger diameter and you might have to size your hole in the floppy a bit bigger. Remember to ensure the hole is round or Gingerbread will not recognize it.

## Going Further

As this design is in Affinity Designer 2, you are free to change it to your heart's content. A 3.5" floppy: sure. A hard disk: of course. It's only limited by your imagination.


## Related Guides

- [Cynaps Bone Conduction Headset Teardown](https://learn.adafruit.com/cynaps-bone-conduction-headset-teardown.md)
- [Hacking Yoto Music Players](https://learn.adafruit.com/hacking-the-yoto-music-players.md)
- [Arcade Stick Conversion](https://learn.adafruit.com/arcade-stick-conversion.md)
- [Microsoft Teams Mute Button](https://learn.adafruit.com/teams-mute-button.md)
- [Motion-Activated Solder Fume Extractor With Lamp](https://learn.adafruit.com/motion-activated-solder-fume-extractor-with-lamp.md)
- [Animatronic Cosplay Wings](https://learn.adafruit.com/animatronic-cosplay-wings.md)
- [Shop Tips & Tricks](https://learn.adafruit.com/shop-tips-and-tricks.md)
- [Arduino Lesson 9. Sensing Light](https://learn.adafruit.com/adafruit-arduino-lesson-9-sensing-light.md)
- [Adafruit NeoKey BFF](https://learn.adafruit.com/adafruit-neokey-bff.md)
- [Transistors 101](https://learn.adafruit.com/transistors-101.md)
- [Sound Reactive Rapunzel Hair](https://learn.adafruit.com/sound-reactive-rapunzel-hair.md)
- [Fiber Optic Pixie Skirt](https://learn.adafruit.com/fiber-optic-pixie-princess-skirt.md)
- [Experimenting with Conductive Heater Fabric](https://learn.adafruit.com/experimenting-with-conductive-heater-fabric.md)
- [Adafruit Wearables Studio Tour](https://learn.adafruit.com/adafruit-wearables-studio-tour.md)
- [TRON Bag](https://learn.adafruit.com/tron-bag.md)
