Mail Archives: geda-user/2017/03/21/00:24:02
Hello Gabriel,
On Sat, 18 Mar 2017, Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com] wrote:
> On Sun, Mar 12, 2017 at 05:44:08AM +0100, gedau AT igor2 DOT repo DOT hu wrote:
>> If you haven't downloaded pcb-rnd yet because of missing transparent
>> layers and/or opengl support, this is the best time to get an svn
>> checkout^1!
>
> I'm in this group, I just compiled pcb-rnd and it seems to work fine
> on my old (late 2005) laptop. Pure gtk drawing was too slow to be usable
> but the GL version is reasonably fast.
>
> It compiles fine, great job, although I'd prefer a less verbose output
> from make to better see the compiler messages (I like the terseness of
> the Linux kernel compiles).
Cool, thanks! I will consider a configure option for that.
>
> However, the BGA parametric footprint generator seems to hate me
> and never works as soon as I change a parameter. I get a lot of
>
> (synchro-rnd.lht:20679): GdkGLExt-CRITICAL **: gdk_gl_drawable_gl_begin: assertion 'GDK_IS_GL_DRAWABLE (gldrawable)' failed
>
> messages and I can't place anything.
Does this happen to other parametrics as well?
Does this happen with the gdk rendering too? (You can test by starting
pcb-rnd with --gui gtk2-gdk)
May it depend on the actual parameters? The error feedback is not very
good yet, if the parametric footprint script throws an error message, that
shows up only on the stderr of pcb-rnd (in the console you started pcb-rnd
in) and not in the GUI. This may happen with invalid combination of
parameters, bugs in the scripts or incompatible installations (e.g. no
awk available or strange version of awk exposes portability issue in the
script).
>> From the code, I also suspect that it goes from A to Z for the
> alphanumeric labelling, which is incorrect. Most BGA alphabets
> skip a few letters: I, O, Q, S, X, and Z for the Xilinx parts
> I'm using (leaving us with a 20 alphabet of 20 symbols).
Ahh, the automap parameter...
The ultimate solution is to manually write a map - you won't be able to
avoid that if your device has missing balls or some custom naming
convention. The automap is there for the simple cases.
We can advance the automap feature to some extent, but there'll be a point
where all the complication is just not worth the extra mental load for
learning them instead of generating the map string from the pdf. It's also
important not to break backward compatibility, existing schematics may
embed bga() in footprint attributes.
Considering all these, I've added an alphabet option in r7827. When
specified (together with automap=alnum), it replaces the default A..Z
alphabet with whatever characters you like (can be anything that the
generic syntax and pin numbers allow; it is case sensitive). For example
if you say alphabet=aQuJ, then the rows will be called a, Q, u, J (then
aa, aQ, au, aJ), etc.
An on-line example with a random alphabet:
http://igor2.repo.hu/cgi-bin/pcblib-param.cgi?cmd=+bga%286%2C8%2C+automap%3Dalnum%2C+alphabet%3DuzbTFgH%29
> I just spotted a typo (triangle is misspelt) so here is a simple patch:
Thanks for the patch!
Regards,
Igor2
- Raw text -