[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: General Layers questions
On Thu, 24 Feb 2011 20:59:31 -0800
Jared Casper <jaredcasper@xxxxxxxxx> wrote:
> On Thu, Feb 24, 2011 at 7:39 PM, Kai-Martin Knaak <kmk@xxxxxxxxxxxx>
> wrote:
> >> I agree that color does not belong in the layout file. I may keep
> >> changing my preferences on my pcb color theme, but I don't want to
> >> update all my layout files to take advantage of an updated color
> >> theme -- UI preferences like color theme should definitely not be
> >> included in the .pcb layout file itself.
> >
> > I partly disagree. Some information on color should be in the
> > layout.
> >
> > Real world use cases:
> >
> ...
> >
> > The layout may not contain the whole explicit color information.
> > Just a name of a color scheme may be enough. If no matching color
> > scheme can be found in $HOME/.pcb/.color, or in the project dir,
> > some default scheme would be used.
> > That way you can have both. Central color config files and layout
> > chosen color schemes. As a bonus, my color blind colleague can keep
> > a palette adjusted to his needs and we can still both work with the
> > same layout files.
> >
>
> I would vote for color schemes to map colors to layer types/properties
> and no color info in the layout file, as opposed to color schemes with
> color->layer number mapping and some color info in the file.
>
> So instead of the color scheme saying blue for layer 0, red for layer
> 1, etc. It would say blue for the primary layer, red for the
> secondary layer, green for layers with the "ground plane" attribute
> (or whatever), etc. This way a color scheme works for any board that
> I load. I think this would cover all of your use cases, wouldn't it?
That's a great solution. So layout files describe the layers, then
the color theme maps layer types such as "primary copper side" to one
color, "secondary copper side" to another, and "inner layer 1", "inner
layer 2", etc.
Would this satisfy your desire for four-layer color schemes?
Regards,
Colin
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user