gEDA-user: tragesym's wordswap option and spaces

2010-07-28 Thread Stefan Tauner
Hi!

the template file says: "# wordswap swaps labels if the pin is on the
right side an looks like this: #   "PB1 (CLK)". That's useful for micro
controller port labels"

i would have expected, that it would look for a '(' and will swap
everything before (excluding trailing whitespace) with everything after
(including the '('). but it looks for tokens separated with spaces and
reverses the order of the tokens. example: "PD1 (AIN0, INT1)" will
become "INT1) (AIN0, PD1".

of course the name suggests what it really is intended for, but i think
the behavior i described is more useful, especially for
microcontrollers ;)

attached is a patch, that adds the behavior i would expect, e.g. "PD1
(AIN0, INT1)" would become "(AIN0, INT1) PD1".
to enable it the option wordswap has to be set to "bracket" instead of
"yes".

PS: tragesym also presets 400 as the distance between pins, which
should be 300 according to the symbol creation guidelines afaik.
-- 
regards, Stefan Tauner
170,179d169
< ## swaps a bracket term with the string before it and returns them space-separated
< ## does not check for well formedness.
< def swapbracket(str): 
< list=str.partition("(")
< ## if there is no (, do not modify
< if len(list[2])==0:
< return str
< else:   
< return list[1]+list[2]+" "+list[0].rstrip()
< 
468,469d457
< elif o_wordswap=="bracket" and swap==1:
< label=swapbracket(pin.label)


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


Re: gEDA-user: A topo auto router code base that is tested and works.

2010-07-28 Thread Anthony Blake
On Thu, Jul 29, 2010 at 4:34 AM, joshua wojnas  wrote:
> A topo auto router code base that is tested and works.

Sounds made up..

> Well their is graphical drawing open source software in graphvis
> neato
> fdp
> sfdp
> are all used to make graphs from things like netlists...

Given that I couldn't get any of those graph programs to layout a
signal flow graph of a certain FFT (it was rather trivial to do by
hand), I'm doubt you are going to have any success. Basically, their
algorithms sucked and seemed to favor runtime performance over quality
of results. But I would love to be proven wrong =)

Let me know how it goes..

-- 
Anthony Blake


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


Re: gEDA-user: teardrops.c & cvs access

2010-07-28 Thread Bert Timmerman
Hi all,


> -Original Message-
> From: geda-user-boun...@moria.seul.org 
> [mailto:geda-user-boun...@moria.seul.org] On Behalf Of DJ Delorie
> Sent: Wednesday, July 28, 2010 3:02 AM
> To: k...@familieknaak.de; gEDA user mailing list
> Subject: Re: gEDA-user: teardrops.c & cvs access
> 
> 
> There are many plugins not included in the distribution.  
> Nobody has had the time to figure out how best to include 
> them; either in the main source tree as compiled-in files, or 
> in a separate tree as installed plugins.  Plus there's the 
> all the gathering, licensing, testing, and documenting to do.
> 
> 

Have a look at:

http://github.com/bert/pcb-plugins

And please read README.plug-ins for instructions.

License texts included ;-)

Kind regards,

Bert Timmerman.

BTW: patches are welcome



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


gEDA-user: A topo auto router code base that is tested and works.

2010-07-28 Thread joshua wojnas
A topo auto router code base that is tested and works.
Well their is graphical drawing open source software in graphvis
neato
fdp
sfdp
are all used to make graphs from things like netlists...
So youu can see how if a netlist file was converted to something that
could be input into one of these it would draw a map showing what the
detangled board would look like that could assist in manual placement
after a oversised graph was generated...

it is sorta like a functional autoplace if a text conversion bit of
code was made.

-- 
thanks for your time,
Joshua Wojnas
315 5071070
My webpages on electronics
... comming soon


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


Re: gEDA-user: gschem segfaults on *.pcb files

2010-07-28 Thread Kai-Martin Knaak
Armin Faltl wrote:

> If it's started on the commandline, i.e. stdin is a tty, I suggest
> this message is written to stdout and no popup with "OK" appears.

That's what I meant by "leave a comprehensive message

--<)kaimartin(>---
PS: would you mind to not full quote and top post?

> 
> Kai-Martin Knaak wrote:
>> Currently, gschem barfs when confronted with a pcb file. Rather than
>> segfaulting it should leave a comprehensive message and exit gracefully.
>>
>> ---<)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+kmk&op=get



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


Re: gEDA-user: 0805 geometry, was: Script for converting mm to hundredths of thou

2010-07-28 Thread Stefan Salewski
On Wed, 2010-07-28 at 01:09 +0200, Armin Faltl wrote:

> 
> Maybe now is the time to keep my promise about the footprint for the
> Texas Instruments bq24103 that's attached. It has a grid in the central 
> solder paste-
> apperture and thermal vias now. At least I hope the pins act as thermal 
> vias...
> 

Thanks.

That basic shape can be done easy with sfg.rb, but some fine tuning is
necessary :-)

You used flag "nopaste" -- I have never seen that before, I should
mention it in my footprint ref summary. Maybe I should include a note
about overlapping pads/pins too...

You used the same NAME for overlapping/touching Pads/Flags.
I may be wrong, but I think the common recommendation is to use the same
PIN NUMBER! Number is for netlist, name is arbitrary, so I think my
memory is correct. But I am not absolutely sure, because in most cases I
make pin name and number the same.

Best regards

Stefan




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