input validation (was: gEDA-user: pcb refdes name restrictions?)

2006-11-07 Thread Carlos Nieves Ónega
Hi, Moving this thread to geda-dev... El vie, 03-11-2006 a las 12:47 +, Peter Clifton escribió: [snip] > Peter B and I were looking at the possibility of introducing some > plugable input validation / auto-complete modules into the gschem > attribute editing system. The down side of course, is

Re: gEDA-user: pcb refdes name restrictions?

2006-11-03 Thread [EMAIL PROTECTED]
Peter Clifton wrote: > The user setting the footprint attribute would auto-complete with a drop-down list of the available footprints This would be useful. The insertion of proper footprint names in gattrib is currently the slowest part (for me anyway) of going from gschem to PCB. Anothe

Re: gEDA-user: pcb refdes name restrictions?

2006-11-03 Thread Peter Clifton
On Fri, 2006-11-03 at 09:57 +, Peter Baxendale wrote: > > >The parser starts at the end, moving towards the start of the string and > > >strips off lower case characters until it encounters any non-lowercase > > >character, then it stops. Thus Rp4 will be a valid element name. This > > >has

Re: gEDA-user: pcb refdes name restrictions?

2006-11-03 Thread Peter Baxendale
> >The parser starts at the end, moving towards the start of the string and > >strips off lower case characters until it encounters any non-lowercase > >character, then it stops. Thus Rp4 will be a valid element name. This > >has been documented in the manual for at least 5 years now since I fir

Re: gEDA-user: pcb refdes name restrictions?

2006-11-02 Thread Ales Hvezda
[snip] >The parser starts at the end, moving towards the start of the string and >strips off lower case characters until it encounters any non-lowercase >character, then it stops. Thus Rp4 will be a valid element name. This >has been documented in the manual for at least 5 years now since I firs

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread John Luciani
On 10/31/06, Peter Clifton <[EMAIL PROTECTED]> wrote: We run a robot design project, subdivided into mechanical, electrical and software components. The electronics is done basically on strip board, but that is a sub-section on our PCB(s) with micro-controller interfaces ready to populate. I am

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Harry Eaton
Dan McMahill wrote: It had never occurred to me to use anything but an upper case alpha character followed by a numeric value for a refdes, but students have a habit of trying the unexpected. It threw me for quite a while trying to understand what pcb was complaining about, since it referred to

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Peter Clifton
On Tue, 2006-10-31 at 13:00 +, Peter Baxendale wrote: > > I am curious to know if your notes are available online, or are released > > under such a license that we can make them available to students here? > > > > I've put them on my web page > ( http://www.durham.ac.uk/peter.baxendale ). The

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Dan McMahill
Dan McMahill wrote: Stuart Brorson wrote: Note that you can't do this with things like CONNpower and CONNsignal. How do you renumber alpha refdeses? Admittedly, CONNpower and the like are easier to deal with than J1, J2, etc, but if you've got a board with thousands of components on it, then

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Peter Baxendale
> I am curious to know if your notes are available online, or are released > under such a license that we can make them available to students here? > I've put them on my web page ( http://www.durham.ac.uk/peter.baxendale ). They are pdfs but I can send you openoffice files if they are any use to

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Dan McMahill
Peter Baxendale wrote: Thanks for the comment on refdes values. I'll add a few things to next year's notes for the students. I'll try to remember to modify gsch2pcb. The framework exists in gnetlist to include rules about the name space of the output format and deal with it. For example, pa

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Dan McMahill
Stuart Brorson wrote: Note that you can't do this with things like CONNpower and CONNsignal. How do you renumber alpha refdeses? Admittedly, CONNpower and the like are easier to deal with than J1, J2, etc, but if you've got a board with thousands of components on it, then you can't give each a

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Peter Clifton
On Tue, 2006-10-31 at 10:04 +, Peter Baxendale wrote: > Thanks for the comment on refdes values. I'll add a few things to next > year's notes for the students. We're hoping to introduce more students to gEDA here at Cambridge, and as a related project, myself and Peter Brett spent our summers

Re: gEDA-user: pcb refdes name restrictions?

2006-10-31 Thread Peter Baxendale
Thanks for the comment on refdes values. I'll add a few things to next year's notes for the students. It had never occurred to me to use anything but an upper case alpha character followed by a numeric value for a refdes, but students have a habit of trying the unexpected. It threw me for quite a

Re: gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread Stuart Brorson
On Mon, 30 Oct 2006, John Luciani wrote: On 10/30/06, Peter Baxendale <[EMAIL PROTECTED]> wrote: Another dumb question. I teach a class of undergraduates about ECAD and this year abandoned commercial tools in favour of geda. Students being students, they tend to try things I wouldn't think of d

Re: gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread Peter Baxendale
> Any lower case suffix is ignored. This is so you can, for example, place > 4 discrete NAND gates on the schematic called U1a, U1b, U1c and U1d, and > they will netlist into a single footprint / component, U1. > Ah, thanks - that explains exactly what I was seeing - CONNpower became CONN. > I'm

Re: gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread Peter Baxendale
> A reason not to have long refdes values is clutter. Names that are seven and > eight characters get difficult to place (legibly) on dense schematics and > PCBs. A seven character refdes will probably take up more board area than most > of you SMD components. Yes, I agree entirely. What I meant w

Re: gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread John Luciani
On 10/30/06, Peter Baxendale <[EMAIL PROTECTED]> wrote: Another dumb question. I teach a class of undergraduates about ECAD and this year abandoned commercial tools in favour of geda. Students being students, they tend to try things I wouldn't think of doing. Today, a couple of them decided to be

Re: gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread Peter Clifton
On Mon, 2006-10-30 at 13:59 +, Peter Baxendale wrote: > Another dumb question. I teach a class of undergraduates about ECAD and > this year abandoned commercial tools in favour of geda. Students being > students, they tend to try things I wouldn't think of doing. Today, a > couple of them decid

gEDA-user: pcb refdes name restrictions?

2006-10-30 Thread Peter Baxendale
Another dumb question. I teach a class of undergraduates about ECAD and this year abandoned commercial tools in favour of geda. Students being students, they tend to try things I wouldn't think of doing. Today, a couple of them decided to be creative and on their schematic used names like "CONNpowe