www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/02/20/14:34:13

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject
:content-type:content-transfer-encoding;
bh=Ub9oE/tiKCZHPAmKf/dB3+Q0Jv3GxdTJDbXTlyWwE4o=;
b=RmsvEL1KJVih5tyxIlkgk8Em7S3Z9+5j/JdlpIW0Go9UwMJFsjQlqPtUKdvCfsLN34
yAhfYWx+lKyAT4Myl3Zx2BKrCjNtdZFFjnbwOuTXd0uCS6fRFHXTQ6tZ5Yysx03N3gcW
dqOQ6GVfjEnjCZ9UJ5wj8GrRTZztnKZAiUTC9mQcFTB4RRFaJiIB/ntBDHa+YSTwAkMq
DenCrnBRCH8dhvK1LzRyX5P95hM5uEBLKsSr816DO2NvFEDrx7A8j0LotjfiN00rxNae
mf6knM06JlSd2Pw5xoyw9NzWZ3Wbf+Q76tPAu5Fc+TDvZX32C5BN6MQHP2Qk8uZ+Kkj2
fsEg==
X-Received: by 10.14.0.132 with SMTP id 4mr3613715eeb.95.1392924800042;
Thu, 20 Feb 2014 11:33:20 -0800 (PST)
Message-ID: <5306587D.6040808@gmail.com>
Date: Thu, 20 Feb 2014 20:33:17 +0100
From: =?UTF-8?B?SmnFmcOtIMSMZWprYQ==?= <jirkacejka AT gmail DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: [geda-help] Is it possible to convert units mm2mil or mil2mm inside footprint
file?
Reply-To: geda-help AT delorie DOT com

Hello World!

This is my first message here, today I've subscribed. I'm creating my 
first project ever with gEDA suite and the first electronic project I 
want to go far till real volume production. I studied a lot of gEDA 
documentation, tutorials etc. about gEDA workflow to get things done. I 
have to tell that tutorials (youtube videos) and DJ's example projects 
are really helpfull also to get started, so thank you about that. I have 
a lot of remarks about gEDA workflow and it's learning curve but more on 
that in anothertime.

A day before yesterday I have had a problem with automatically generated 
footprint of DHVQFN16 package generated by some online footprint 
creator. The problem rise when I wanted to additionally edit the 
footprint file (clearance and soldermask) by hand. The units used in 
that file was mils but I want it to be a mm because I'm from Europe and 
package drawing I have on my desk is available in metric units. So I 
started to find if PCB can do the work for me or if exists some utility 
within the gEDA suite which converts units used in footprint files. 
Neither PCB nor utility can't do that. So I started to search at mailing 
lists if anybody had solved same or simmilar problem. Also there I found 
nothing helpfull. So my first question is:
Is there any program included in the suite which has the capability of 
converting footprint units?

If not I've made one by myself if anybody interested. It does the scan 
of footprint source file line by line unaware of its format finding some 
important unit strings {mil,mm} and converts units from one to another. 
It cannot convert old format footprints (centimils units) and batch 
conversion is also not yet implemented but it does the job for me for 
now. I'm not a good programmer so my second question is:

Is anybody here interested in the source code? If so, where I should 
upload it so anybody can beat me for that? :-D

Jiří Čejka


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019