Coupons
Help
  • FAQ
    browse most common questions
  • Live Chat
    talk with our online service
  • Email
    contact your dedicated sales:

How to Draw a PCB Outline in KiCad: Edge.Cuts, Board Dimensions, and Manufacturing Checks

Author : Alex Chen | PCB Design & High-Speed Engineering Specialist

November 30, 2026


The kicad pcb outline is the path the fabricator's router follows. Everything else—copper, solder mask, silkscreen—is secondary to that contour. Draw it on the wrong layer, leave it open, or let copper sit inside the tool radius and the board either comes out the wrong size or gets damaged at the edge during milling.

Most outline failures start in the PCB Editor before any Gerber is generated. Edge.Cuts is the only layer that defines the finished board edge. Graphics on User.Drawings, Dwgs.User, or a mechanical layer are ignored by the plotter and by most CAM systems.

 

Edge.Cuts Is the Only Layer That Sets the Finished Board Size

When you kicad draw board outline graphics, select the Edge.Cuts layer first. Rectangle, line, arc, and polygon tools all work. The contour must form a single closed path. KiCad's DRC and the Gerber plotter both expect one continuous outline; gaps or overlapping segments cause the board shape to be rejected or interpreted incorrectly.

Start with the mechanical drawing. Set the origin where the mechanical CAD has its datum, then place the first corner at absolute coordinates. Use the grid and the measurement tool. A 0.1 mm offset that looks fine on screen becomes a problem when the connector shell or the enclosure wall no longer matches.

KiCad PCB Editor showing Edge.Cuts layer

Setting Exact Dimensions and Rounded Corners

Board dimensions are controlled by the endpoint coordinates of the Edge.Cuts segments. For a rectangular board of 80.0 × 50.0 mm, the four corners must sit exactly on those numbers. Change units to mm and disable the grid snap only when you need a non-grid dimension, then re-enable it.

Rounded corners are drawn with the arc tool on Edge.Cuts. A 1–2 mm radius is common for hand-assembled boards and reduces edge chipping. Internal cutouts and slots are also drawn on Edge.Cuts. The fabricator treats every closed contour on that layer as a milling path. A narrow slot narrower than the tool diameter (often 0.8 mm or 1.0 mm minimum) will be rejected or will be routed with a larger tool that changes the finished opening.

Confirm the minimum slot width and corner radius with the fabricator's process limits before you finalize the outline. What the mechanical drawing shows as a sharp internal corner may need a 0.5 mm radius in practice.

Edge.Cuts outline with external rounded corners and an internal slot cutout

Importing a Mechanical DXF as the kicad board outline

File → Import → Graphics brings in a DXF. Choose Edge.Cuts as the target layer and set the units to match the source file. Scale and position must be verified immediately after import. A DXF drawn in inches imported as millimeters produces a board that is 25.4 times too large—an error that is obvious once you measure but easy to miss if you only glance at the screen.

After import, explode any polylines if necessary and delete construction geometry that does not belong on the finished outline. Keep only the closed outer contour and the intentional internal cutouts. Extra segments left on Edge.Cuts confuse both KiCad's board outline detection and the fabricator's CAM.

 

Closing Gaps and Removing Duplicate Segments

An open outline is the most common reason a Gerber set is rejected or a board is routed to the wrong shape. Zoom in on every endpoint. The "Board outline" check in DRC flags gaps and self-intersections. Overlapping segments or two nearly coincident lines also create problems; the plotter may draw only one of them or generate an ambiguous path.

Use the properties dialog on each segment to confirm it is on Edge.Cuts and that the endpoints actually coincide. A 0.01 mm gap is enough to break the contour. After cleaning, run DRC again and view the board in the 3D Viewer; an incomplete outline appears as a missing or partial board body.

Close-up of an Edge.Cuts corner

Copper, Pads, and Components Must Clear the Routed Edge

The milling tool has a finite radius and the board edge can chip. Copper that sits inside roughly 0.3–0.5 mm of the Edge.Cuts contour is at risk of being damaged or shorted by the router. Most fabricators require at least 0.5 mm copper-to-edge; 1.0 mm is safer for standard processes and for boards that will see mechanical handling or conformal coating.

Castellated pads and edge connectors are deliberate exceptions. They require a controlled plating and routing sequence and must be called out in the fabrication notes. Ordinary traces and plane pours do not. A ground pour that fills to the edge looks clean in the editor but is routinely flagged in DFM reviews and often results in edge copper being milled away, leaving a rough or exposed laminate edge.

Component bodies and connector shells also need clearance. A connector that overhangs the board edge may be fine mechanically, but its pads still require the copper clearance. Check the 3D model against the outline before release.

 

Verifying the Outline Before Gerber Release

Plot the Edge.Cuts layer (or the board outline layer in the Gerber job) and open the set in a Gerber viewer. Measure the finished dimensions. Confirm that internal cutouts appear and that no extra graphics were plotted. The 3D Viewer in KiCad shows the board body only if the outline is closed; use it as a quick sanity check.

Run DRC with the board outline and clearance rules enabled. Any "board outline incomplete" or copper-to-edge violation should be fixed before the files leave the design system. A mismatch between the plotted outline and the mechanical drawing is easier to catch now than after the panels are built.

 

Common Ways the kicad pcb outline Breaks Fabrication

Outline drawn on User.Drawings instead of Edge.Cuts. Result: Gerbers contain no board outline and the fabricator either stops or guesses from the copper extent. Open contour or tiny gap at a corner. Result: CAM cannot generate a continuous tool path. DXF imported with wrong units. Result: board size off by the inch-to-millimeter factor. Copper or solder mask openings closer than the process minimum to the edge. Result: edge copper removed or solder mask damaged during routing. Multiple overlapping outlines. Result: ambiguous or double-routed edge.

Each of these is visible in the PCB Editor or the Gerber viewer if you look. They become expensive only after the order is placed.

 

Pre-Release Outline Checklist

  • All board-edge graphics sit on Edge.Cuts only.
  • Outer contour and every internal cutout are fully closed.
  • Finished dimensions match the mechanical drawing within tolerance.
  • Corner radii and slot widths meet the fabricator's tool limits.
  • Copper, pads, and vias clear the edge by the required minimum (typically ≥0.5 mm).
  • Castellated or edge-plated features are noted and dimensioned.
  • DRC shows no outline or edge-clearance violations.
  • Gerber viewer measurement of the plotted outline agrees with the design.

When you kicad add board outline features, treat Edge.Cuts as a manufacturing drawing, not a decorative layer. The closed contour, the exact dimensions, and the copper clearance are what keep the finished board the size and shape the rest of the design expects.

 

Common Questions on Drawing the kicad board outline

Q1: Which layer should the PCB outline be on in KiCad?

A1: Edge.Cuts. Any other layer is ignored for the board outline when Gerbers are generated.

Q2: How do I fix an open board outline?

A2: Zoom to each corner, confirm endpoints coincide, and move or redraw segments so they join. Run the board-outline DRC check afterward.

Q3: Can I import a DXF for the outline?

A3: Yes. Import the DXF onto Edge.Cuts, verify units and scale, then delete any construction geometry that is not part of the finished contour.

Q4: Why does the Gerber viewer show no board outline?

A4: The Edge.Cuts graphics were either missing, not closed, or plotted to the wrong layer. Re-plot after confirming the contour is complete on Edge.Cuts.

Q5: How close can copper be to the board edge?

A5: Most processes require at least 0.5 mm; 1.0 mm is preferable for ordinary copper. Castellated pads are a special case that must be coordinated with the fabricator.

Alex Chen | PCB Design & High-Speed Engineering Specialist Alex Chen | PCB Design & High-Speed Engineering Specialist

Alex Chen is a senior PCB design engineer with extensive experience in high-speed and high-density circuit design. He specializes in signal integrity, impedance control, and multilayer PCB layout optimization. At AIVON, he reviews and refines content related to PCB design principles, EDA tools, and advanced layout techniques. His expertise helps engineers avoid common design pitfalls and improve performance, reliability, and manufacturability in complex PCB projects.

Related Tags


2026 AIVON.COM All Rights Reserved
Intellectual Property Rights | Terms of Service | Privacy Policy | Refund Policy