kicad-automation-scripts can do it:
You can try “eeschema_do export” command with “–file-format svg”. It uses KiCad to do it.
The tool can be integrated with KiPlot:
Docker with all the needed tools (including KiCad 5.1.6) can be found at docker hub:
Examples using these docker images on GitHub:
Also for GitLab:
For the PCB:
- KiPlot supports the options found in the “Plot” menu (using Python bindings)
- The “Print” style is supported using “pcbnew_do”, but I’m currently supporting PDF format.