Skip to the content
4 layers374.5 × 43.3 mmMerge, the printed circuit board in 3D

Merge two KiCad 8 projects into one — preserves UUID linkage, ref normalisation, net remapping

Size
374.5 × 43.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
548
Nets
40
Pads
1,238
Tracks, vias
1,506, 130
Pours
14
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
16 Apr 2026
Updated
16 Apr 2026

Overview

Merge is an open-source printed circuit board by Chan33122, from the Chan33122/kicad-project-merge repository on GitHub, published under the MIT licence. It is a 4-layer board of 374.5 × 43.3 mm with 548 parts on 40 nets, routed with 1,506 tracks and 130 vias.

It is built around the ADF4113BRUZ, SN74LVC1T45DBV and BGT60UTR11AIP, with the LDLN025M18R and LDLN025M33R among its other parts. Its parts include 68 capacitors, 20 ICs, 14 resistors, 14 connectors and 10 inductors.

Main components

5

README

README.md

kicad-project-merge

Merge two KiCad 8 projects into a single ready-to-open project — without breaking the schematic↔PCB link.

Motivation

PCB fabricators typically require a minimum panel size (e.g. 50×50 mm). When two small prototype boards are panelised together, standard KiCad merge methods re-annotate reference designators, breaking the match between the physical silkscreen, schematic, BOM, and test procedures.

The problem

KiCad links PCB footprints to schematic symbols via a UUID stored in the footprint's (path "/SYMBOL_UUID") field. Copy-pasting symbols in the editor reassigns new UUIDs, breaking every footprint↔symbol link silently. KiCad then falls back to reference-string matching and re-associates footprints incorrectly, corrupting the merged design.

What this tool is for

The primary use case is proto panelisation: two small boards merged onto one panel to meet a fabricator's minimum panel size requirement (typically 50×50 mm).

The guarantee the tool provides is:

Every reference designator on the physical silkscreen matches exactly what is in the merged schematic and BOM — with zero re-annotation.

This keeps test procedures, probe notes, and firmware pin maps consistent from the moment the panel arrives on the bench.

The solution

This tool merges entirely by text concatenation, preserving every UUID byte-for-byte. Only three fields change:

FieldChange
SCH (project "old")→ (project "merge")
SCH (path "/old-sheet-uuid")→ (path "/new-uuid")
PCB (sheetfile "old.kicad_sch")→ (sheetfile "merge.kicad_sch")

Usage

bash
python3 merge_projects.py  Project1/  Project2/

Produces a single KiCad project folder beside the source projects:

  • Merge-Project1-Project2/
  • Merge-Project1-Project2.kicad_pro ← open this in KiCad
  • Merge-Project1-Project2.kicad_sch
  • Merge-Project1-Project2.kicad_pcb
  • Merge-Project1-Project2.kicad_prl

Dry-run first to verify everything before writing:

bash
python3 merge_projects.py  Project1/  Project2/  --dry-run

Optional gap overrides:

bash
python3 merge_projects.py  Project1/  Project2/  --gap-sch 80  --gap-pcb 40

What the three stages do

Stage 1 — Reference normalisation (kicad_ref_normalise.py)

  • Compacts project1 refs to a dense 1..N range per prefix (C, R, U …)
  • Shifts project2 refs to start above project1's maxima
  • Repairs any split-state files where (property "Reference") and (instances/reference) disagree — a common artifact of prior partial operations
  • Verifies no overlap before writing

Stage 2 — Schematic merge (kicad_sch_merge.py)

  • Finds Y_max of project1 schematic content
  • Shifts all project2 coordinates down by Y_max + gap (default 50.8 mm)
  • Merges lib_symbols blocks (union, deduplicated by name)
  • Adds a labelled dashed box around each project zone
  • Sets a custom User W H paper size fitted to the merged content

Stage 3 — PCB merge (kicad_pcb_merge.py)

  • Places project2 board to the right of project1 (X shift)
  • Footprint-internal coordinates (pad positions) are relative and are NOT shifted
  • Merges net tables by name — shared nets (GND, +3V3) get one ID
  • Adds labelled boxes on F.SilkS
  • Sets a custom paper size fitted to both boards

Requirements

  • Python 3.10+
  • KiCad 8 (S-expression format — likely compatible with KiCad 6/7)
  • No external Python packages required

Files

  • merge_projects.py ← single entry point
  • kicad_ref_normalise.py ← stage 1
  • kicad_sch_merge.py ← stage 2
  • kicad_pcb_merge.py ← stage 3

All four scripts must be in the same directory.

⚠ Read before opening the merged project in KiCad

Net isolation — shared net names

Power nets and signal nets with identical names in both projects (e.g. GND, +3V3, +1V8, +5V) are automatically renamed in the offset project by adding a __ prefix:

Original (same-project)Renamed (offset-project)
GND__GND
+3V3__+3V3
+1V8__+1V8
+5V__+5V

This renaming is applied consistently in three places:

  • Schematic power symbols — the (property "Value") of every #PWR<n> symbol whose net name is shared. This is the field KiCad uses to assign the net name to all pins connected to that power rail.
  • Schematic wire labels — any (label), (global_label), or (hierarchical_label) carrying a shared net name.
  • PCB net table and pad references — the net name string in the top-level net table and inside every pad's (net ID "name") field, as well as zone fill (net_name "name") references.

The result is that the two boards are fully electrically independent in the merged KiCad project. GND and __GND are separate nets with no connection between them. KiCad will not show any inter-board ratsnest or unrouted connections.

What this means on the bench

The physical boards share no copper — each board's ground plane is its own island on the panel. If you need the two boards to share a common ground during test, add a wire between their GND test points manually. This is the correct approach for an RF front-end panel where ground coupling between two sensitive circuits would be undesirable anyway.

The merged project is not plug-and-play. The following are expected and require manual attention:

PCB

  • Boards need manual repositioning — the tool places them side by side with a fixed gap. You still need to arrange them into your final panel layout, add board-edge cuts, V-score lines, and tooling strips manually.

Schematic

  • The two designs are not electrically connected — the merge is purely additive. No cross-wiring is created.

License

MIT — free to use, modify, and distribute. Developed by Chandresh Sharma with Claude (Anthropic).

Parts

548
QtyValueFootprintReferences
380TestPointChandresh:Via60GHzTP10, TP11, TP100, TP101, TP102, TP103, TP104, TP105, TP106, TP107, TP108, TP109, TP110, TP111, TP112, TP113 +364
28100nCapacitor_SMD:C_0603_1608MetricC2, C4, C17, C19, C27, C28, C29, C30, C31, C32, C33, C34, C36, C38, C40, C42 +12
16FiducialFiducial:Fiducial_1.5mm_Mask4.5mmFID1, FID2, FID3, FID4, FID5, FID6, FID7, FID8, FID9, FID10, FID11, FID12, FID13, FID14, FID15, FID16
1210uCapacitor_SMD:C_0402_1005MetricC10, C11, C12, C14, C15, C26, C44, C45, C46, C48, C49, C60
12MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4, H5, H6, H7, H8, H9, H10, H11, H12
12SN74LVC1T45DBVPackage_TO_SOT_SMD:SOT-23-6U1, U3, U7, U8, U9, U10, U11, U13, U17, U18, U19, U20
12TestPointTestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mmTP1, TP2, TP3, TP4, TP5, TP6, TP197, TP198, TP199, TP200, TP201, TP202
6100nCapacitor_SMD:C_0402_1005MetricC13, C23, C24, C47, C57, C58
610KResistor_SMD:R_0603_1608MetricR2, R3, R4, R9, R10, R11
610pCapacitor_SMD:C_0603_1608MetricC16, C18, C20, C50, C52, C54
61uCapacitor_SMD:C_0603_1608MetricC1, C3, C7, C35, C37, C41
6Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ3, J4, J6, J10, J11, J13
40EResistor_SMD:R_0603_1608MetricR6, R7, R13, R14
41pCapacitor_SMD:C_0402_1005MetricC21, C22, C55, C56
4600EInductor_SMD:L_0603_1608MetricL2, L3, L7, L8
4Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J2, J8, J9
4RFCInductor_SMD:L_0603_1608MetricL1, L4, L6, L9
210nCapacitor_SMD:C_0402_1005MetricC25, C59
210uCapacitor_SMD:C_0603_1608MetricC5, C39
2150EResistor_SMD:R_0402_1005MetricR1, R8
21KResistor_SMD:R_0603_1608MetricR5, R12
2470nCapacitor_SMD:C_0402_1005MetricC9, C43
2600EInductor_SMD:L_0402_1005MetricL5, L10
2ADF4113BRUZPackage_SO:TSSOP-16_4.4x5mm_P0.65mmU6, U16
2BGT60UTR11AIPChandresh:BGA28N50P8X8_405X405X90-VU4, U14
2Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ7, J14
2Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ5, J12
2KC2016 80MHzOscillator:Oscillator_SMD_Kyocera_KC2520Z-4Pin_2.5x2.0mmY1, Y2
2LDLN025M18RPackage_TO_SOT_SMD:SOT-23-5U2, U12
2LDLN025M33RPackage_TO_SOT_SMD:SOT-23-5U5, U15

Similar boards

  • 2 layers80 × 25 mmRedPink STM32C09 Board, the printed circuit board in 3D

    RedPink STM32C09 Board

    ARMontt/RedPink-CAN-USB

    Device for Industrial - Automotive development

    39 partsCC0-1.0
  • 2 layers39 × 60.3 mmAnalisador Bode, the printed circuit board in 3D

    Analisador Bode

    LuizFernandoOliveira/Analisador_Bode

    This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License][cc-by-nc-nd].

    64 parts
  • 2 layers52.2 × 50 mmDatalogger, the printed circuit board in 3D

    Datalogger

    LuizFernandoOliveira/Datalogger_sinais_inerciais

    This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License][cc-by-nc-nd].

    51 parts
  • 2 layers100 × 100 mmKit Analogico, the printed circuit board in 3D

    Kit Analogico

    LuizFernandoOliveira/Kit-Front-End-Anal-gico

    This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License][cc-by-nc-nd].

    290 parts
  • 2 layers71.5 × 100 mmKit Medidor Corrente, the printed circuit board in 3D

    Kit Medidor Corrente

    LuizFernandoOliveira/Kit-Medidor-de-Corrente-Ultra-Low-Power

    This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License][cc-by-nc-nd].

    144 parts
  • 2 layers113.3 × 50 mmMedidor Energia, the printed circuit board in 3D

    Medidor Energia

    LuizFernandoOliveira/Medidor-de-Energia-Ultra-Low-Power

    This work is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License][cc-by-nc-nd].

    108 parts
  • 2 layers38.4 × 28.3 mmPCB Mouse, the printed circuit board in 3D

    PCB Mouse

    mathieupommery/ESE_2526_ROBOTCHATDELAMUERTE

    We first wanted to make a three omniwheeled robot with FOC control on brushless motors.

    36 parts1
  • 4 layers70 × 54 mmPicoLab, the printed circuit board in 3D

    PicoLab

    CoretechR/PicoLab

    Web-GUI Embedded Multitool

    285 parts327GPL-3.0

Questions

How big is the Merge PCB?

It measures 374.5 × 43.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Merge use?

548 parts, built around the ADF4113BRUZ, SN74LVC1T45DBV, BGT60UTR11AIP and LDLN025M18R. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Merge KiCad files?

From the Chan33122/kicad-project-merge repository on GitHub, at the commit this page was made from: the board is merge.kicad_pcb and its schematic merge.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Merge design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).