[kicad-users] Convert Eagle library to KiCAD

2009-04-02 Thread andrej_georgi
Dear KiCAD group,

I just found an ATXMega library for Eagle which I would like to use on my KiCAD 
Project. Is it possible to convert the library to KiCAD?

Apprecitate any help

Andrej



[kicad-users] Re: Eagle to KiCAD

2009-04-02 Thread Alain M.
Hi,

mostly I redraw ALL my libraries and modules, but using some existing 
library. It is so easy that I turned it into a habit...

There are a lot of Eagle converted libraries by Renie (also Brazilian) 
at http://www.reniemarquet.cjb.net/kicad.htm

I am answering to the list, maybe you get more answers from there, 
including Renie ;) that is what the list is for...

Alain

andrej_georgi escreveu:
 Dear Alain,
 
 I am not sure if your the right person to ask. I just found an atmel atxmega 
 library for eagle and lookn for a solution to convert it to KiCAD. Since you 
 got experience in KiCAD convertions I just ask you how to do that? 
 
 Kind Regards 
 Andrej Georgi
 
 
 
 


[kicad-users] Re: Solder Paste

2009-04-02 Thread axtz4
--- In kicad-users@yahoogroups.com, Robert birmingham_spi...@... wrote:

 Thanks.   I should add that they want the solder mask to be positive (ie 
 the solder mask clearance is supposed to be 0.4mm), so your cunning idea 
 can't be applied in this case.

[sound of planting face in hand] D'oh! Yes, I was thinking solder masks and not 
the paste tool.

Well, one sure way to do this is to edit the *SoldP_Cmp.pho (and similar) file 
and mod the appertures. E.g., if the original apperture for an 0804 was D23 and 
it was listed as %ADD23R,0.055000X0.035000*% (1.4 mm x 0.9 mm) in the Gerber, 
changing it to 1 mm x 0.5 mm would be %ADD23R,0.04X0.02*%, more or less.



Re: [kicad-users] Re: Solder Paste

2009-04-02 Thread Robert
Hmmm - that would be a lot of manual editing.   OK, thanks.   At least I 
can now solve it with a bit of C code if they insist on this one.

Regards,

Robert.

axtz4 wrote:
 --- In kicad-users@yahoogroups.com, Robert birmingham_spi...@...
 wrote:
 Thanks.   I should add that they want the solder mask to be
 positive (ie the solder mask clearance is supposed to be 0.4mm), so
 your cunning idea can't be applied in this case.
 
 [sound of planting face in hand] D'oh! Yes, I was thinking solder
 masks and not the paste tool.
 
 Well, one sure way to do this is to edit the *SoldP_Cmp.pho (and
 similar) file and mod the appertures. E.g., if the original apperture
 for an 0804 was D23 and it was listed as %ADD23R,0.055000X0.035000*%
 (1.4 mm x 0.9 mm) in the Gerber, changing it to 1 mm x 0.5 mm would
 be %ADD23R,0.04X0.02*%, more or less.
 
 
 
 
 
 Please read the Kicad FAQ in the group files section before posting
 your question. Please post your bug reports here. They will be picked
 up by the creator of Kicad. Please visit http://www.kicadlib.org for
 details of how to contribute your symbols/modules to the kicad
 library. For building Kicad from source and other development
 questions visit the kicad-devel group at
 http://groups.yahoo.com/group/kicad-develYahoo! Groups Links
 
 
 
 
 
 
 
 No virus found in this incoming message. Checked by AVG - www.avg.com
  Version: 8.5.283 / Virus Database: 270.11.38/2037 - Release Date:
 04/02/09 06:09:00
 

[kicad-users] Re: Solder Paste

2009-04-02 Thread axtz4
--- In kicad-users@yahoogroups.com, Robert birmingham_spi...@... wrote:

 Hmmm - that would be a lot of manual editing.   OK, thanks.   At least I 
 can now solve it with a bit of C code if they insist on this one.

Give this a try (I hope the Y! formatting doesn't totally destroy it.) May need 
to be tweaked for your house Gerber style.


#!/usr/bin/perl
#
# Usage: perl shrink_paste.pl [input] [shrinkage] {minimum}
#
# Define $scale as the factor from the units of the command line shrinkage
# value to the units in the Gerber. For a command line unit of mm and a
# Gerber unit of inches, use 25.4.
# If specified, the minimum dimension will be respected. If not specified,
# it defaults to 0.0. Units are assumed to be the same as shrinkage and
# similarly affected by the scale factor.

$scale = 25.4;
$minimum = 0.0;

$iname = $ARGV[0];
if ($iname eq ) {
print No input filename\n;
exit;
}

$oname = $iname;
$bakname = $iname;

$base = rindex($oname, .pho);
if ($base == -1) {
print Input not a Gerber? (Not .pho)\n;
exit;
}

$shrinkage = $ARGV[1];

if ($shrinkage == 0) {
print Quitting, no shrinkage spec'd\n;
exit;
}

$shrinkage /= $scale;

$minimum = $ARGV[2];
if ($minimum  0.0) {
$minimum = 0.0;
}
$minimum /= $scale;

substr($oname, $base) = .tmp;
substr($bakname, $base) = .bak;

open (IFILE, $iname) or die $iname: $!;
open (OFILE, , $oname) or die $oname: $!;

$working = 0;
$x = 0.0;
$y = 0.0;

while (IFILE) {
chomp;
if (!$working) {
printf(OFILE %s\n, $_);
if (/APERTURE LIST/) {
$working = 1;
}
} elsif ($working) {
if (/APERTURE END LIST/) {
$working = 0;
printf(OFILE %s\n, $_);
} else {
@field = split(/[,X\*]/);
if ($field[0] =~ /C/) {
$x = $field[1] - $shrinkage;
if ($x  $minimum) {
$x = $minimum;
}
printf(OFILE %s,%.6f*%\n,
$field[0], $x);
} elsif ($field[0] =~ /[RO]/) {
$x = $field[1] - $shrinkage;
if ($x  $minimum) {
$x = $minimum;
}
$y = $field[2] - $shrinkage;
if ($y  $minimum) {
$y = $minimum;
}
printf(OFILE %s,%.6fX%.6f*%\n,
$field[0], $x, $y);
}
}
}
}

close(IFILE);
close(OFILE);

rename($iname, $bakname);
rename($oname, $iname);




[kicad-users] Re: Is there a fast way to move reference designators?

2009-04-02 Thread oecherexpat
Hi there,

I had exactly the same issue - and unfortunately no solution to you. In my 
opinion, Kicad needs plenty more shortcuts, a dedicatd one for move 
designator and rotate designator would be perfect.

Cheers,  Heiko


--- In kicad-users@yahoogroups.com, earthysmell earthysm...@... wrote:

 So far my kicad experience has been great.  I've got my first board almost 
 finished and now its time to move the arrange the reference designators for 
 my closely spaced SMT components.  Every time I want to move a designator I 
 start by right clicking and then have to specify that I want to select the 
 reference, then from the next menu I select reference and finally move. 
 Way too slow. 
 
 I've used other layout tools that let you chose the section mode (with a mode 
 for designators only) so that no clarification is needed.  This allows you to 
 move silk around with a single click (like hitting the M key to move a 
 component in kicad.)  
 
 Is there a quick way to do this??





[kicad-users] Re: Solder Paste

2009-04-02 Thread oecherexpat
Hi Robert,

Interesting manufacturer you've got there. No, Kicad does not have the ability 
to shrink the solder past pads as it can increase pad sizes on solder resist 
layer. I myself just finished a PCB where I only had to shrink solder paste for 
2 fine-pitch connectors. I did it by not using the original pad for paste but 
added a smaler drawing for each pad. Man, that was a lot of work, the connector 
has 60 pins.
On the standard components, the manufacturer said it's ok to
leave it 1:1. Aparently, the needed shrinkage depends on pad size and how the 
stencil is manufactures (etched, lasered, electro-polished) but also on the 
thickness of the stencil. Maybe going to a thinner stencil might be a solution 
for you, they are usually available down to 100um/4mil.

Cheers,   Heiko


--- In kicad-users@yahoogroups.com, Robert birmingham_spi...@... wrote:

 Hi all,
 
 I've been asked to shrink the size of the solder paste windows relative 
 to the pads by 0.04mm, ie if a pad is a 1mm diameter circle, I've been 
 asked to make the solder paste window 0.96mm in diameter.   Does anyone 
 know how I might achieve this please, either with kicad or via some 
 post-processing stage?
 
 Regards,
 
 Robert.