Cut a PCB section along its traces

The Section tool cuts a rectangle through everything it crosses. The Traces tool starts from the nets instead: pick the lines you care about and it cuts the board around them, keeping them whole from pad to pad, with the planes under them.

The cut-out section of the board in 3D: a 25.7 by 9.8 mm strip with the two picked traces running its length and a few small nets that fit inside it.
Figure 1. The Folio power board cut around its USB pair: 25.7 by 9.8 mm, from 2,883 copper shapes down to 212.

Step by step

Start from a board with its stackup set and its Gerber files imported, as in steps 1 to 4 of the Gerber import guide.

  1. Choose Traces

    Choose Traces in the drawing tools, or press N. Margin sets how far the planes under the picked lines reach past them. Left on auto, it is five times the height from the traces to the nearest plane, and at least 1 mm: here 1.00 mm.

    The drawing tools with Traces chosen, the Margin field set to auto and the layer set to top, under the hint: 2 nets picked, 98 shapes.
  2. Click the traces

    Click each line of the pair. A click picks the whole net: every piece of copper joined to it, on any layer and through vias. Click a picked line again to drop it, or press Esc to clear.

    1. Where I clicked on one line. A second click on the other line picked it too.
    2. The picked nets turn blue along their whole length, to their far end.

    Gerber files carry no net names, so nets are found from the copper shapes. A series part ends a net, so pick the trace on each side of it.

    Part of the board from the top, with the two lines of the USB pair drawn in blue from the USB-C connector's pins on the left to pads on the right.
  3. Press Enter

    Enter cuts the board to the box around the picked nets plus the margin. The console says what happened: both picked nets kept whole, the three planes under them cut 1 mm beyond, 23 small nets kept because they lie wholly inside, and 16 removed because the cut would have chopped them. Undo brings the whole board back.

    The console: a warning that no port is left inside the section, and the line Sectioned to 25.7 by 9.8 mm: kept 2 picked nets whole, cut 3 planes under them 1.00 mm beyond, kept 23 other nets lying wholly inside, removed 16 other nets the cut would have chopped.
  4. Check the section

    Choose Top to see the whole section. No trace ends at the edge as a stub: each one either runs complete or is gone.

    The section from the top: the pair runs from the USB-C connector's pins on the left, through two pairs of pads, to pads on the right, over the cut plane.
  5. Add ports and solve

    Any port the cut would have left on removed copper goes with it, so add one at each end of each line and solve. Steps 7 to 9 of the Gerber import guide show how, on this same pair.

Section or Traces?

What each tool keeps Two copies of the same pair with a neighboring trace that crosses the cut. On the left, the Section rectangle clips both the pair and the neighbor, leaving the neighbor as a stub at the edge. On the right, the Traces cut keeps the pair whole and removes the neighbor. Section Traces neighbor left as a stub neighbor removed
Figure 2. The same pair cut both ways. Section cuts a box you draw; Traces sizes the box from the picked nets and drops whatever it would chop.

Use Section when you want a region, such as a connector footprint and the copper around it. Use Traces when you want a route: a line that wanders out and back comes out whole, and no neighbor is left as a dangling stub to ring in the solve.