In KiCad, you create a board outline by drawing a closed shape on the Edge.Cuts layer. This outline defines the physical boundaries of your printed circuit board (PCB).
Here's a breakdown of how to do it:
Steps to Create a Board Outline
-
Open the PCB Editor: Start KiCad and open your PCB project. Navigate to the PCB editor.
-
Select the Edge.Cuts Layer: In the Layers Manager (usually on the right-hand side), click on the "Edge.Cuts" layer. This is the layer KiCad uses to recognize the board outline.
-
Choose a Drawing Tool: On the toolbar, select a drawing tool. Common choices include:
- Line: For straight segments.
- Arc: For curved sections.
- Rectangle: For rectangular boards.
- Circle: For circular boards.
- Polygon: For more complex shapes.
-
Draw the Outline: Using the selected tool, draw the desired shape of your board outline. Click to define the starting point, and then click at each subsequent corner or control point. Remember:
- The outline must be a closed shape. This means the last point you draw must connect back to the first point, creating a continuous boundary. If it's not closed, KiCad won't recognize it as a valid board outline.
- Ensure the outline is continuous. It can consist of multiple line segments, arcs, and other shapes, but they must all connect to form a single, unbroken boundary.
-
Verify the Outline: After drawing, double-check that the outline is correctly formed and completely encloses the area you want to be part of your PCB. Use the 3D viewer to visualize the board shape.
Example: Creating a Simple Rectangular Board Outline
- Select the "Rectangle" tool.
- Click on the PCB editor to define the first corner of the rectangle.
- Click again to define the opposite corner.
- KiCad automatically creates a rectangular outline on the Edge.Cuts layer.
Important Considerations
- Minimum Clearance: When placing components or traces near the board edge, consider manufacturing tolerances. Keep components a safe distance from the edge to avoid being cut off during the manufacturing process. Consult your PCB manufacturer for their recommended minimum clearance.
- Cutouts: You can create cutouts within the board by drawing additional closed shapes on the Edge.Cuts layer inside the main board outline.
- DXF Import: For complex board outlines, you can import a DXF file created in a CAD program. Use "File -> Import -> Graphics" and choose the Edge.Cuts layer as the target layer. Ensure the DXF file contains a closed polyline or a series of connected lines and arcs.
- Board Setup: Verify design rules in "File -> Board Setup" to make sure the board outline meets the specifications.
By following these steps, you can effectively define your board outline in KiCad, ensuring your PCB matches your intended design.