Mail Archives: geda-user/2017/05/04/22:17:33
On Thu, 4 May 2017, James Battat (jbattat AT wellesley DOT edu) [via geda-user AT delorie DOT com] wrote:
> I reported a similar issue (same symptom, maybe the same cause) to this list
> on 3/14/16 (with further discussion on 5/19/16) -- subject line was: "pad
> dimensions shrink when footprint flips to other side of board"...
>
> Also documented here:
> http://academics.wellesley.edu/Physics/jbattat/geda/issues/flipbug.html
>
> Looking back through my email archive, I see that pcb-rnd did not have this
> issue, so the problem was likely introduced after the pcb-rnd fork.
>
I've also tested the files: pcb-4.0.0 with gtk/gdk does have the
issue, while pcb-rnd (with gtk and lesstif) does not. I agree with James,
this bug probably got introduced after the fork (but it may be worth
looking through pcb-rnd svn logs, we may have fixed it after the fork,
before James tested - I can't recall, I've fixed so many bugs during the
years).
Also looked at the patch and the source. I think this is not the right
fix: the bug is somewhere in the pad rendering when coordinates are
flipped. The patch tries toB make sure coordinates don't get flipped by
mirroring - but what if a script generated a file with flipped pad coords,
or an "old file" has such a pad or another operation also flips? -> pcb
will render the pad incorrectly.
Another hint: the pad renders correctly even flipped, if it has round cap
(press 'q').
So I recommend looking at the pad rendering code instead.
Regards,
Igor2
- Raw text -