SMD and THT PCB Layouts from Single Schematic

Have a look here:

And the repo with examples: