Author Message
 Post subject: Command-line schematic/layout image export?
PostPosted: 04 Aug 2014, 21:34 
Offline

Joined: 21 Jun 2013, 21:15
Posts: 1
We use git for tracking our schematic and layout changes so we can always roll back to previous revisions, tag board spins, etc.

Because the *.dch and *.dip files are binary (rather than XML or JSON or something like that), they can't be easily diffed for determining what's changed.
Currently what we do is to export the schematics and layouts to images, and then diff the images. That's error-prone and tedious to do manually.

Is it possible to automate this process via command line?
We use the Mac version of DipTrace which is run through Wine, so I'm not sure whether the system's built-in UI-automation tools would work.

Ideally I'd be able to do something like:
Code:
diptrace Foo.sch -export Foo.bmp


(Which I could script pretty easily to pipe different revisions into an image-diff tool).

Any ideas on how to do this without all the manual work?

Thanks,
Robert


Top
 Profile  
 
 Post subject: Re: Command-line schematic/layout image export?
PostPosted: 05 Aug 2014, 09:25 
Offline
Technical Support

Joined: 14 Jun 2010, 06:43
Posts: 2762
Do you know, you can export DipTrace ASCII files. They can be compared in text editors.

In regards to comparing images, it's really error-prone. I don't know how to automate the process.


Top
 Profile  
 
 Post subject: Re: Command-line schematic/layout image export?
PostPosted: 30 Apr 2017, 11:56 
Offline

Joined: 15 Nov 2014, 13:31
Posts: 6
+1 for this. Not just helpful for automatically including images in releases, but could also let us automate the creation of the board package ZIP. Right now, we have to manually export each and every gerber and drill file one at a time, and occasionally miss or mess up one. Being able to write a batch script to do it would be so, so, so much nicer and more reliable.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group