thesourcerer8 / altium2kicad

Altium to KiCad converter for PCB and schematics
https://www2.futureware.at/KiCad/
GNU General Public License v2.0
837 stars 153 forks source link

arcs are only exported when my $annotate=1; #59

Closed cdwijs closed 4 years ago

cdwijs commented 5 years ago

Hi All, At work i design electronics with Altium designer. I just stumbled over Altium2Kicad. I've tried to convert a simple PCB with only 1 transistor. I noticed the arcs on the silkscreen were missing, but only when my $annotate=0; This patch solves this issue:

` convertpcb.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/convertpcb.pl b/convertpcb.pl index bd788f1..49fcf00 100755 --- a/convertpcb.pl +++ b/convertpcb.pl @@ -1117,7 +1117,7 @@ sub HandleArc($$$$) # $filename,$value,?,$data (\%d,$data,$header,$line); print OUT "#Arc#$_[3]: WARNING: width/2 exceeds radius*1.01 !\n" if($annotate); $width=$r/2.0; }

`

thesourcerer8 commented 4 years ago

Thanks a lot for reporting it, that bug got fixed!