bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
854 stars 99 forks source link

[Feature Request] Ability to export to PDF/PNG via command line. #808

Open Sandelinos opened 2 months ago

Sandelinos commented 2 months ago

I use DIYLC for making stripboard layouts for Eurorack modules and guitar pedals, which I share on my website. This leads to a lot of open project, export to .png, copy .png to my website's repo, repeat when iterating on layouts.

If DIYLC supported exporting a .diy into a .png via a command line argument (maybe something like: diylc --export-png=~/Pictures/circuit.png ./circuit.diy) I could use a shell script to handle this and save a lot of time.

Another nice use case would be that if you use git for version control of your DIYLC projects, you could set up a CI action to automatically export PDF and PNG to your git repository's releases page when you commit a change to the .diy file.

bancika commented 2 weeks ago

Interesting feature, I'll consider it