Neither of those scripts helped me much since they require using subsheets, so I sat down and wrote a small Python script that can do this. It’s extremely simple, but does the job on all the files I’ve tested: GitHub - jenschr/KiCad-parts: Schematics, footprints and scripts I've made and tested for KiCad
It took me some time since Python is something I only do when the need arises, but it was a good reminder of how flexible that language is
So it will take this schematic:
And this typical PCB layout file:
And it will produce a brand new file called “new.kicad_pcb” that looks like this:
It won’t lay out your board, but it will make it MUCH easier to locate where your parts belong
Posted it on https://forum.kicad.info also, so others can find it more easily.