delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/04/13:53:21

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Authority-Analysis: v=1.1 cv=XWD5/VRj2HUJOhsR8cgmvPBlhMACpZXxseY1Kn/ehQI= c=1 sm=0 a=nFJ2T2qeKKUA:10 a=S5UWtVBNySwA:10 a=6WB07kdHjWAA:10 a=8nJEP1OIZ-IA:10 a=u53stecuSJwucPwe+xKvUw==:17 a=wR-FlJDvAAAA:8 a=CuqCZv7SWz7czjnj2BYA:9 a=CaE3pJeEoV1CRKdRTAEA:7 a=wPNLvfGTeEIA:10 a=05EBPMntedwA:10 a=fCs-_rFjFuQGPuSZ:21 a=oYOJVft8PWq4KRKW:21 a=u53stecuSJwucPwe+xKvUw==:117
X-Cloudmark-Score: 0
X-Originating-IP: 70.113.89.74
Message-ID: <4E8B4807.3000807@ecosensory.com>
Date: Tue, 04 Oct 2011 12:53:11 -0500
From: John Griessen <john AT ecosensory DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: [geda-user] PCB color, layer mappings (was: linux git head )
References: <4E88A49F DOT 50904 AT ecosensory DOT com> <1317587253 DOT 5335 DOT 1 DOT camel AT localhost> <20111003041302 DOT GB2946 AT malakian DOT lan> <4E88D4D9 DOT 5000300 AT ecosensory DOT com> <20111004100416 DOT 1f4a6fb8 AT svelte>
In-Reply-To: <20111004100416.1f4a6fb8@svelte>
Reply-To: geda-user AT delorie DOT com

On 10/04/2011 12:04 PM, Colin D Bennett wrote:
> John Griessen<john AT ecosensory DOT com>  wrote:
>> My work around for project definable colors is to use more layers
>> and keep them the same color, and some projects use all, some a
>> subset.
>
> I think a good solution would be for the user preferences file to
> map layer names to colors, rather than layer numbers.  This way,
> each layout would receive the right colors for its layers, no
> matter whether there were extra layers inserted or some removed.

I like this as a specification for whenever we get to coding on a new layer definition
with stackups, properties attachable to trace segments, etc...

The spec would go like:

1.  If a project dir file (called pcbrc or gafrc or ?) exists, use it
	first, then default color map from ~/.pcb/colors/Default.

2.  Colors come from layer name mappings first.  As mappings from layer name to number change,
	change color to match color to name mapping.  IN other words, there is no color to number map.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019