← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] Dynamic text in schematic and board.

 

Jon,

Any thoughts on how you envisage this working? Text substitution through
using escaped macros or a direct reference that can be picked via say a
dropdown box in the dialog?



On Mon, Mar 12, 2018 at 5:34 AM Jon Evans <jon@xxxxxxxxxxxxx> wrote:

> Display net name of pad automatically:  You can use this to auto-label
> test points with the net name they are connected to, for example
>
> Other places where text substitution is useful to me:
>
> - Set project-level properties, like schematic title, part number,
> revision, etc.  Have it automatically show up on every sheet title block
> and stay in sync on the board silkscreen layer.
>
> - Add lots of properties to parts (i.e. resistors get voltage, tolerance,
> tempco, etc) and automatically show these as labels on the schematic next
> to refdes and value
>
> -Jon
>
> On Sun, Mar 11, 2018 at 11:56 AM, Nick Østergaard <oe.nick@xxxxxxxxx>
> wrote:
>
>> Den 8. mar. 2018 22.39 skrev "Russell Oliver" <roliver8143@xxxxxxxxx>:
>>
>> As a follow up to the road map discussion I saw a forum post asking if it
>> was possible to display the net name of a pad on the silkscreen or other
>> layers much like the value or reference fields.
>>
>>
>> Why is this useful? Could you explain the exact use case?
>>
>>
>> While a simple implementation would be to create a text item directly
>> linked to each pad that could be enabled, and shows the link to the
>> relevant pad,  I think a more generic approach would be great to have.
>>
>> I propose that either or both of these options for version 7.
>>
>> a) standalone text items are processed as a template.  A domain specific
>> language would be designed to allow for references to items as direct text
>> substitutions. The implementation, scope and style of this DSL will need to
>> be workshopped and would like your comments on.
>>
>> b) linked text (annotations) showing a graphical link (like the blue line
>> of values and reference ) A text item is created as a link to another item,
>> for which the text is derived from a list of properties of that item. This
>> would include such things as values, references, custom symbol and
>> footprint fields, sizes, positions, net names, net codes.
>>
>> I'm almost certain this would require the updated Schematic object in
>> eeschema, but might already be achievable in pcbnew given its current
>> architecture, but that's more of a guess than anything.
>>
>> Any thoughts, guidance or critiques would be appreciated.
>>
>> Kind Regards
>> Russell
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

Follow ups

References