fxkr / eagle-diff

Show differences between Cadsoft Eagle PCB layouts
BSD 3-Clause "New" or "Revised" License
32 stars 7 forks source link

Eagle 8.6.3 generates sch diff instead of brd #29

Open 1am opened 6 years ago

1am commented 6 years ago

Hello,

I've been trying out eagle-diff on Eagle 8.6.3 using on Xubuntu 16.04 (Xubuntu 16.04 Vagrant box) and experienced a funny issue.

I've used https://github.com/fxkr/eagle-diff/blob/master/test/diff-test.sh script and it runs correctly, first generates the schematic diff but when it comes to generating the brd it throws a bunch of popups about missing layers and that "RATNEST" and "RIPUP" commands can be only executed in design view. The thing is that what I see on screen is the correct window on top which is the board view.

After clicking through all of the popup windows I end up with diffs from schematic named as both sheet-* and layer-* diffs. Apparently Eagle doesn't use the proper context for exporting images but I'm not sure how to change that. Not really an expert on Eagle scripting and couldn't find a reference on it.

Did someone by chance experience a similar thing or know a way to fix it?

fxkr commented 6 years ago

Sorry. I have not tested it with Eagle 8 yet, so it's quite possible that they changed something again in a way that breaks eagle-diff.

On Fri, Apr 6, 2018 at 1:26 PM, Piotr notifications@github.com wrote:

Hello,

I've been trying out eagle-diff on Eagle 8.6.3 using on Xubuntu 16.04 (Xubuntu 16.04 https://app.vagrantup.com/bstoots/boxes/xubuntu-16.04-desktop-amd64 Vagrant box) and experienced a funny issue.

I've used https://github.com/fxkr/eagle-diff/blob/master/test/diff-test.sh script and it runs correctly, first generates the schematic diff but when it comes to generating the brd it throws a bunch of popups about missing layers and that "RATNEST" and "RIPUP" commands can be only executed in design view.

After clicking through all of the popup windows I end up with diffs from schematic named as both sheet- and layer- diffs. Apparently Eagle doesn't use the proper context for exporting images but I'm not sure how to change that. Not really an expert on Eagle scripting and couldn't find a reference on it.

Did someone by chance experience a similar thing or know a way to fix it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fxkr/eagle-diff/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXx8Mq2uxA2wz4fahApSrt3NVeoJ1QFks5tl8-RgaJpZM4TKqFu .

1am commented 6 years ago

Actually it's working very well, only this was the one thing which needed a fix. The #30 seems to be doing the job

fxkr commented 6 years ago

Thanks, that's good to know. No alignment issues in the generated diff images?