kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32408
Re: Eeschema fields in Pcbnew (RFC)
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
jp charras <jp.charras@xxxxxxxxxx>
-
Date:
Wed, 13 Dec 2017 19:51:29 +0100
-
In-reply-to:
<CAAKAwD3BeWTxHy=KJYvXMKb9GZ+8ySaOgDCeK+DD3xiefz809w@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
Le 13/12/2017 à 17:56, Justin Partain a écrit :
> I understand Kicad is in feature freeze and getting ready to release soon, this is an RFC for a
> feature for Kicad 6.0 (or whatever is next).
>
> Proposition: add the ability to import custom fields from Eeschema into Pcbnew via the netlist
>
> As a design engineer, I work closely with our production branch and the ability to export xy-data
> with user-created fields (namely, internal part number in our case) is a need. Currently, I'm
> looking at generating a .bom file from Eeschema with the needed fields, generating .pos file from
> Pcbnew per usual, and using a script to rip out the needed data from both and reassemble in our
> desired format. This proposal covers getting the data into Pcbnew, I'll probably send out another
> proposal for more customizable XY-data output later. If this is approved, I'd rather Kicad support
> this out of the box and I can maintain a branch until Kicad is ready to merge it.
>
> This would require a .kicad_pcb format update and would not be backwards compatible (unable to open
> new format in old Kicad). I'm imagining key-value pairs like "(customfield $fieldname $fieldvalue)"
> for each (module ...). There may be interest in being able to draw these to the board, I'm not sure,
> maybe that could be added later if this gets approved.
Just note custom fields exist in footprints.
Perhaps a format update could be required, but for now you can use them.
Inside these custom fields a key-value pair string like mykeyword::myvalue could be used, and this
is compatible with current .kicad_pcb files
> --
>
> Justin Partain
--
Jean-Pierre CHARRAS
References