Skip to content

The Layers tree

The Layers tree lists everything in the design in one place. Use it to pick a layer to draw on. You can also hide what is in the way and lock what must not change.

Open the sample with cargo run -p pcbcraft -- --sample. Click the Layout tab. The left panel opens on Layers.

  1. Find Board at the top. It shows the board size, 60 x 40 mm.

  2. Find Layer 1 · Top and Layer 2 · Bottom. Each side has sublayers: Tracks, Solder mask, Silkscreen, Paste and Pads.

  3. Open Tracks on the top side. The nets GND, LED and VCC are listed under it.

  4. Scroll down for Board edge, User layers and Parts.

    The Layers tree on the Layout tab. Board is 60 x 40 mm. Layer 1 Top and Layer 2 Bottom each list Tracks, Solder mask, Silkscreen, Paste and Pads. Board edge and Parts follow.

The number on each row counts the items on it. The arrow at the left of a row opens or closes it.

  1. Click the eye at the right of a row to hide that layer on the drawing. Click it again to show it.

  2. Click the small padlock to lock the layer. A locked layer cannot be picked or edited on the drawing.

  3. A hidden layer shows a crossed eye. A faint eye means the drawing does not show that layer yet, so the eye does nothing. In the sample, Solder mask and Paste are like this.

    Rows of the Layers tree with an eye and a padlock at the right of each row. Solder mask and Paste show a faint eye.

Hiding changes only the view. The design is not changed.

You can also press Space to hide or show the layer under the pointer. Press L to lock or unlock it.

Use Show all above the tree to show every layer again. Hide others hides every layer except the one you are on.

  1. Click a layer row, for example Silkscreen under Layer 1 · Top.

  2. Look for the green Active tag. It moves to the row you clicked.

  3. Draw as usual. New items go on the active layer.

    The top side of the Layers tree. The Active tag sits on the Silkscreen row.

Clicking a layer row also pins the view, except for Board edge and user layers. Layers above it turn see-through, so the layer you chose is easy to read. A Viewing chip names the pinned layer.

  1. Click a layer row to pin it.
  2. Press Page Up or Page Down to move the pin one layer at a time.
  3. Press Esc, click the cross on the Viewing chip, or use Reset view to drop the pin.
  4. To dim everything that is not on a layer, press F over its row. Press F again to bring it all back. On a copper layer the other layer stays on screen, faint, and vias stay bright because they join both faces.
  5. On the Schematic tab, click a layer row such as Symbols or Power symbols. Its parts and the nets wired to them light up in the accent colour, and the tab does not change.

Hovering a row shows the same see-through view while the pointer stays there. Nothing is pinned until you click.

  1. Right-click a layer row.
  2. Pick Make active, Hide, Lock or Focus. The shortcut keys are shown beside the names.
  3. Right-click Layer 1 · Top to add a copper layer pair below it. Right-click an inner copper layer to rename it, move it up or down, or remove it.

Right-click on the drawing opens a different menu for the item under the pointer.

  1. Right-click a part on the board, for example R1.

  2. Pick Copy, Duplicate, Rotate, Lock in place, Properties or Delete.

    A part R1 is selected on the board. A menu beside it lists Copy, Duplicate, Rotate, Lock in place, Properties and Delete. The Properties panel on the right shows R1.

  1. Click the box that says Filter layers and objects.
  2. Type a part reference, a net name or a layer name.
  3. The tree keeps only the matching rows. Delete the text to see everything again.

A design can record the files it makes, such as a copper plot, a placement file or a drill file. The Layers tree lists each one under the layer it comes from.

  1. Open Copper under Layer 1 · Top. A copper plot of the top layer is listed first, above the nets.
  2. A file that no longer matches the design shows Out of date instead of its name on disk. This happens when you change a layer it is made from, or when it was never made.
  3. Click the file. Properties shows its kind, layers, settings and state, and the rows of that file light up in the tree, in Manufacture and on the drawing.
  4. Click Make this file to make it again. The mark goes away.
  5. Click Show in Manufacture to open the Manufacture tab with the file picked in the Output files list.

Drill files are listed under Drills, one for each set of layers and hole size. Files that belong to no layer, such as a bill of materials, are listed under Output files.

  • The Active tag follows the row you click.
  • A hidden layer disappears from the drawing but stays in the tree, with a crossed eye.
  • A locked layer ignores clicks on the drawing.