On 4/9/2012 5:43 PM, Miguel Angel Ajo Pelayo wrote: > Nice Wayne, > > Don't you think that also dumping the non-default layers would make > sense?, > just for sanity of the file format (making complete sense even without > the version > of kicad it belongs to). > > May be on future kicad version default layers and numbering could change? > > Or for other tools that try to import the files.
I agree. JP suggested something very similar. Here is what I am proposing for layers: (layers ("board_edge" edge) ("front_silk_screen" silkscreen) ("front_solder_mask" solder_mask) ("front" copper) ("inner1" copper) ("inner2" copper) ("back" copper) ("back_solder_mask" solder_mask) ("back_silk_screen" silkscreen) ("dimensions" graphical) ("notes" graphical) ) Each layer has a name and a type. All other objects on the board would reference the layers by name instead of numbers. This solves the problem of expanding Pcbnew to support more layers in the future. The file reader can make sure the layer stack is valid at load time and you can have as many or few layers as required instead of a fixed number of layers. Wayne > > > > 2012/4/9 Wayne Stambaugh <stambau...@verizon.net > <mailto:stambau...@verizon.net>> > > On 4/9/2012 11:18 AM, Miguel Angel Ajo Pelayo wrote: > > They seem to be using "wire" for schematics: and "wire" for pcb too. > > > > They also enumerate the layers at start. > > Miguel, > > Thanks for the eagle files. A layer map at the top of the file is a > good idea. Something like > > (layers > (0 "NAME_OF_LAYER_0) > . > . > (N "NAME_OF_LAYER_N) > ) > > Only the non-default layers would get saved. > > > > > In my opinion "wire" or "track" is better than segment (that could > be a > > drawing line) > > I agree that segment wasn't the best choice. Wire is concise and > readable. I have no objections to using wire although "trace" or > "track" is probably more descriptive. Most folks I know use trace or > track. To me, wire is something you buy by the spool. Although, I have > seen plenty of production boards with wires tacked on to them :) > > Wayne > > > > > > > 2012/4/9 Dick Hollenbeck <d...@softplc.com > <mailto:d...@softplc.com> <mailto:d...@softplc.com > <mailto:d...@softplc.com>>> > > > > > > Some more feedback: > > > > (segment ...) IS on one line, so good there. > > > > Wonder if (segment) is our best keyword for what is a trace/track. > > specctra uses > > (wire). Could check EAGLE's new XML format, if we're lacking > > opinions, which would be > > atypical. > > > > > > Wonder of the flags in (segment (status HERE) ) should not be > > spelled out, and omitted > > when they are defaulted. This way you can omit (status). > > > > You could use single keyword presence, rather than name/value > pairs > > obviously, like you > > did for module_text hide, which needs leading whitespace BTW. > > > > > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : kicad-developers@lists.launchpad.net > <mailto:kicad-developers@lists.launchpad.net> > > <mailto:kicad-developers@lists.launchpad.net > <mailto:kicad-developers@lists.launchpad.net>> > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp > > > > > > > > > > -- > > > > Miguel Angel Ajo Pelayo > > http://www.nbee.es > > +34 636 52 25 69 <tel:%2B34%20636%2052%2025%2069> > > skype: ajoajoajo > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : kicad-developers@lists.launchpad.net > <mailto:kicad-developers@lists.launchpad.net> > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > <mailto:kicad-developers@lists.launchpad.net> > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > > > > > -- > > Miguel Angel Ajo Pelayo > http://www.nbee.es > +34 636 52 25 69 > skype: ajoajoajo _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp