Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-04 Thread Steven Michalske
the 50,000 dollar a seat software seems to thing like this as well.

my 2 cents

have color schemes,

base the selection of the color scheme based upon the groups in the  
layout.

groups are defined like

[pcb_colors] = {default|override} component: color1, color2, color3,  
color4; solder: color 5, color6, color7, color8;  inner1: color9,  
color10; ...

default means that the user want these to be default values
override states that use my global or project directory colors
loading colors from the pcb file ignores default/override
having color definitions be in a file under the local project  
directory allows for version control to not conflict across  
developers.  as imbedding them in the pcb files can allow for that.


replace colorX with a coding that we like,  hex RGBA ?
e.g.
red at half transparency
#FF80
orange at solid
##FFA500FF


I think the gtk color picker should have these values, inkscape shows  
them.

http://en.wikipedia.org/wiki/List_of_colors  for all the pretty  
options :-P

hardkrash





On Mar 3, 2009, at 10:58 AM, Kai-Martin Knaak wrote:

 On Tue, 03 Mar 2009 16:54:38 +, David SMITH wrote:

 On Tue, Mar 03, 2009 at 01:16:25AM -0600, Peter Tyser wrote:
 4 I imagine some users might not want to inherit the colors of the  
 PCBs
 they open.

 I'd agree with this.  Remember that some of us are colourblind, so we
 might choose colour schemes that seem wierd to normal people.

 On the other hand, sensible colors depend on the layer stack. For  
 example
 I like to use three layers for top and another three for bottom  
 (tracks,
 ground and polygons). With this set-up the default colors don't fit at
 all. There is no problem as long as I edit only my own layouts.  
 However,
 if given to someone else for a review, he needs to install and load my
 color table to get a decent impression on screen.
 Footprints are a in in this aspect too. Converting from buffer to  
 element
 only considers the first two layers. So, my default layer stack  
 won't fit
 and sensible colors are closer to the default color scheme. However,  
 pcb
 insists to load the color scheme of the last session and I have to  
 got to
 file-preferences-colors to load the proper colors.

 How about loading a color table in the local directory by default if  
 it
 exists. Just like we do with gschemrc? This would allow me to set  
 colors
 on a per project base. This would relieve me from changing the color
 table once per session. If I share a project, the receiver does not  
 need
 to install my colors into his pcb config dir.

 ---(kaimartin)---
 -- 
 Kai-Martin Knaak  tel:  
 +49-511-762-2895
 Universität Hannover, Inst. für Quantenoptik  fax:  
 +49-511-762-2211  
 Welfengarten 1, 30167 Hannover   http://www.iqo.uni- 
 hannover.de
 GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak 
 +kmkop=get



 ___
 geda-user mailing list
 geda-user@moria.seul.org
 http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-03 Thread John Griessen
Peter Tyser wrote:

 4 I imagine some users might not want to inherit the colors of the
 PCBs they open.


The way I think of it, having inheritable colors in a global place
and user defined colors in a ~/.pcb file plus a load/save function
is a way to satisfy the most picky, and have a reasonable default
for tutorials and newbies.  That means defining colors in two places,
where one is not used, or just the one place, to handle defaults.

Having the defaults still there in the central location makes updates easy
while keeping your customizations, and if you want to revert a drawing to them
in order to share it more universally.

John
-- 
Ecosensory   Austin TX


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-03 Thread David SMITH
On Tue, Mar 03, 2009 at 01:16:25AM -0600, Peter Tyser wrote:
 4 I imagine some users might not want to inherit the colors of the
 PCBs they open.

I'd agree with this.  Remember that some of us are colourblind, so we
might choose colour schemes that seem wierd to normal people.

 I agree that it would be nice to have the ability to store colors in a
 .pcb file, but I thought that these changes would be an improvement
 with or without that feature.  If others have some suggestions as far
 as a cleaner implementation or about saving/loading colors in the .pcb
 files I'd be happy to give it a go.

Personally, I'd say that a .pcb file should describe the attributes of
the PCB itself, not how the application should display it.  Things like
display colours of layers should be defined by the user's global
settings.

-- 
David SmithWork Email: dave.sm...@st.com
STMicroelectronics Home Email: david.sm...@ds-electronics.co.uk
Bristol, England  GPG Key: 0xF13192F2


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-03 Thread DJ Delorie

In my case, I want different color schemes for 2 and 4 layer boards,
for example.  If I set up layer groups for filled polygons, I'd want
yet another scheme (the m4a-4m board is two layer but eight drawing
layers, I used shades of base colors for each type of signal on each
layer).


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-03 Thread Ben Jackson
On Tue, Mar 03, 2009 at 04:54:38PM +, David SMITH wrote:
 On Tue, Mar 03, 2009 at 01:16:25AM -0600, Peter Tyser wrote:
  4 I imagine some users might not want to inherit the colors of the
  PCBs they open.
 
 I'd agree with this.  Remember that some of us are colourblind, so we
 might choose colour schemes that seem wierd to normal people.

I agree.

 Personally, I'd say that a .pcb file should describe the attributes of
 the PCB itself, not how the application should display it.  Things like
 display colours of layers should be defined by the user's global
 settings.

I agree.

-- 
Ben Jackson AD7GD
b...@ben.com
http://www.ben.com/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-03 Thread Kai-Martin Knaak
On Tue, 03 Mar 2009 16:54:38 +, David SMITH wrote:

 On Tue, Mar 03, 2009 at 01:16:25AM -0600, Peter Tyser wrote:
 4 I imagine some users might not want to inherit the colors of the PCBs
 they open.
 
 I'd agree with this.  Remember that some of us are colourblind, so we
 might choose colour schemes that seem wierd to normal people.

On the other hand, sensible colors depend on the layer stack. For example 
I like to use three layers for top and another three for bottom (tracks, 
ground and polygons). With this set-up the default colors don't fit at 
all. There is no problem as long as I edit only my own layouts. However, 
if given to someone else for a review, he needs to install and load my 
color table to get a decent impression on screen. 
Footprints are a in in this aspect too. Converting from buffer to element 
only considers the first two layers. So, my default layer stack won't fit 
and sensible colors are closer to the default color scheme. However, pcb 
insists to load the color scheme of the last session and I have to got to 
file-preferences-colors to load the proper colors. 

How about loading a color table in the local directory by default if it 
exists. Just like we do with gschemrc? This would allow me to set colors 
on a per project base. This would relieve me from changing the color 
table once per session. If I share a project, the receiver does not need 
to install my colors into his pcb config dir.

---(kaimartin)--- 
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-02 Thread Bert Timmerman
Hi DJ,

On Tue, 2009-03-03 at 01:28 -0500, DJ Delorie wrote:
 Personally, I think the direction we should be going in is *to* saving
 layer color information in .pcb files.  Not sure how much of an
 argument I'd have for the non-layer colors though.
 
 

me thinks user expectations and consistency apply here.

IMHO, if we were to make the above change it's either all colors or
keep as is (do not change).

doing nothing is a choice as well as choosing one of all the other
possibilities :)

my EUR 0.02

Kind regards,

Bert Timmerman.

BTW: I did google for my EUR 0.02  bert and came up with EUR
4,98 :) now -- EUR 5.00 , time for a donation to LF.
 ___
 geda-user mailing list
 geda-user@moria.seul.org
 http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: [PATCH 0/4][PCB] Color setting updates

2009-03-02 Thread Peter Tyser
On 3/3/09, DJ Delorie d...@delorie.com wrote:

 Personally, I think the direction we should be going in is *to* saving
 layer color information in .pcb files.  Not sure how much of an
 argument I'd have for the non-layer colors though.

That thought crossed my mind too but I reasoned:
1. Whether the colors are stored in the PCB structure or global
settings structure, the colors fields should only be defined once. (eg
ViaColor should not be defined in 2 different places).

2. Functions like load_colors_from_pcb() and save_colors_to_pcb()
could be added to add the ability to load/save colors from/to a .pcb
file.  I thought this would be cleaner than having duplicate colors
defined at both the global and PCB levels.

3. It made more sense to keep the colors in the global settings
structure since many PCBs don't/won't have color information in them
and will continue to use the current color setting configuration
scheme.

4 I imagine some users might not want to inherit the colors of the
PCBs they open.

I agree that it would be nice to have the ability to store colors in a
.pcb file, but I thought that these changes would be an improvement
with or without that feature.  If others have some suggestions as far
as a cleaner implementation or about saving/loading colors in the .pcb
files I'd be happy to give it a go.

I believe the last 3 patches should apply even if the 1st one is rejected FWIW.

Thanks,
Peter


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user