← Back to team overview

kicad-developers team mailing list archive

Re: Title block date in pcbnew


On Wed, May 01, 2013 at 09:37:49PM +0100, Brian Sidebotham wrote:

> I have something on my list for the far away future, unless anybody gets
> there first and that's variable substitution for strings. It would be nice
> if we could have text with variable expansion, such as things like
> ${SheetTitle}, ${ModifiedDate}, ${ProjectName} etc.

It would be useful for the assembly layers; explanation: silk screen
(reference) goes where there is place on the board but on assembly
drawings it should go where the component *is*.

The usual rule is to place the reference on board and the override the
plot position to the insertion point when doing the assembly plot.
However that's sub-optimal since sometimes the insertion point is pin

A good idea would be add a custom field on the assembly layer with
something like ${Ref} inside.

Probably there is already some library around for doing such type of
string expansion (maybe there's something in boost, too)

Also it would be useful for implementing custom title block (which are
actually some kind of template for them).

The most difficult thing for title blocks is finding sometimes common to
pcbnew and eeschema...

Lorenzo Marcantonio
Logos Srl