[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb grid improvements... status of patch?



Andrew Poelstra wrote:

> I'm not sure what to do about them. Right now I have a giant
> table of default/max/min for all these units, which totals 12
> values per unit. Times ten currently-supported units, this is
> 120 values!

I'd be ok with some standard set of grid stops which gets coarser 
the coarser the grid is. Something like the E-series of resistors
but with straighter numbers comes to mind. E.g:
1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, ... 
or:
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, ...
These series would work with every unit of length. 

If a user wants special grid stops for a specific unit, these 
may override the general formula. 
 

> The difference between settings and defaults could be as simple
> as putting a preferences file in /etc/pcb. Things like min-width,
> etc, would go in there, and by default the user's .pcb/preferences
> would only contain menu-configurable things.

This is not quite what I meant. I was talking about the values to
be taken on start-up of a new layout (default values) as opposed 
to the values chosen for a specific project (actual values). The
default values should be configurable by the user -- Preferably in 
the GUI. 
Currently, there is no clear distiction. It is all mixed in the 
preference file and in the pcb file. Some variables are used like
actual values, some like default values.

There may of course be system defaults to the default values. 
These should indeed go to /etc/pcb or /usr/local/share/pcb/ .

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: kmk@xxxxxxxxxxxxxxx
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
not happy with moderation of geda-user



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