Mail Archives: geda-user/2018/02/09/22:37:30
On Fri, 9 Feb 2018, karl AT aspodata DOT se wrote:
> Igor:
> ...
>> Thanks for reporting, worked around in r14603.
>
> Great, still clearance and mask differ and silk is missing on bottom
> side, and all the smd components on bottom side is now on top side.
>
> Why the extra attributes...
pcb stores refdes, value and description as hardwired special texts. One
of the good old element restrictions, like you had to have actual
board silk to be able to see the refdes on screen and it had to land on
the silk layer, and you couldn't get both refdes and value on silk.
Read more at http://repo.hu/cgi-bin/pool.cgi?cmd=show&node=subc_refdes
These problems have all been fixed in pcb-rnd by the subcircuit model that
replaces the element model. A subcircuit does not have 3 magic
hardwired text elements, it has user defined attributes, as many as you
want, with names you want. The only attribute that is processed by the
code is refdes, because that is needed for the netlist.
This means when we load something and convert from the old element model
to the subcircuit model, we convert the magic text objects into
attributes. Later on when we save in the pcb format, we convert the
subcircuit back to element, reproducing the element refdes/value/descr,
but we do not remove the attributes.
I have not decided whether we should remove the attributes or not. They
don't cause any problem anyway, so I don't consider this a bug. pcb is not
our native format so we don't aim at byte-to-byte matching round trips,
only valid, usable round trips.
Regards,
Igor2
- Raw text -