EEVblog Electronics Community Forum

Electronics => PCB/EDA/CAD => KiCad => Topic started by: Johannsen on June 17, 2020, 08:36:34 pm

Title: Copy pcb layout to new pcb
Post by: Johannsen on June 17, 2020, 08:36:34 pm
Hello,

I designed a layout for a dc-dc converter and want to use that converter also in another pcb(other project). Is there a way that I can copy the layout without redesigning it in pcbnew from scratch?
Title: Re: Copy pcb layout to new pcb
Post by: poeschlr on June 17, 2020, 09:17:58 pm
There are a few options.

If you did not yet start with the layout then you can copy the full pcb over (via the file browser) and rename it to match the new project, possibly delete what you don't want to keep and ensure that the references match the new schematic and choose "by reference" as the match method when syncing the schematic and layout. See https://forum.kicad.info/t/update-pcb-from-schematics-match-methods/21707

If you did already start the layout then you can simply open the board with pcbnew in standalone mode and select "append board". All other steps are the same as above.

And then there is the option of using the store/restore plugin introduced here: https://forum.kicad.info/t/save-restore-layout-action-plugin/16475 It requires the use of hierarchical sheets but does the rest for you.

Another option that is however more aimed at future projects is the use of template projects (so basically the first option but without you needing to take care of the renaming stuff)
Title: Re: Copy pcb layout to new pcb
Post by: Johannsen on June 18, 2020, 12:04:56 am
Thank you, I will try out the options. I already started with a layout