¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Component position files in metric format possible?


 

Hi all,

Does anyone know if it is possible to have the component position file done in metric format (rather than imperial)?
I am using fine-pitch connectors and my contract manufacturer mentioned that it would be easier and more accurate because their system apparently works better with metric inputs.

Thanks, Heiko


Andy Eskelson
 

Kicad works in imperial internally, I think it's grid is 0.0001, might be
0.00001 I'm not 100% sure. So any metric output would be a simple
conversion.

I find it strange that a manufacturer cannot handle both formats, but if
it is really that important I would write a script to do the conversion
as needed.


Andy



On Wed, 11 Jul 2012 23:45:45 -0000
"oecherexpat" <schwede.alter@...> wrote:

Hi all,

Does anyone know if it is possible to have the component position file done in metric format (rather than imperial)?
I am using fine-pitch connectors and my contract manufacturer mentioned that it would be easier and more accurate because their system apparently works better with metric inputs.

Thanks, Heiko



------------------------------------

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 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 ! Groups Links



 

Yes, I simply ran it through Libreoffice and added 2 more columns with converted positions - is's simple factor after all.
Will see how it goes.

But I thought it might be possible in Kicad as it is possible to chose imperial/metric when creating Gerber files.

Cheers, Heiko

--- In kicad-users@..., Andy Eskelson <andyyahoo@...> wrote:


Kicad works in imperial internally, I think it's grid is 0.0001, might be
0.00001 I'm not 100% sure. So any metric output would be a simple
conversion.

I find it strange that a manufacturer cannot handle both formats, but if
it is really that important I would write a script to do the conversion
as needed.


Andy


 

Currently, the only way to do so without external processing but only using KiCAD is getting the KiCAD sources, modify pcbnew/gen_modules_placefile.cpp and change the #if 1 into #if 0 so that the unit conversion would be hardcoded to be in millimeters.

Then you'll have to compile and install the compiled KiCAD.. I understand this is not optimal, but worked perfectly for me in real product production.

Hope this helps,

Fabio Varesano

On 07/12/2012 01:45 AM, oecherexpat wrote:
Hi all,

Does anyone know if it is possible to have the component position file
done in metric format (rather than imperial)?
I am using fine-pitch connectors and my contract manufacturer
mentioned that it would be easier and more accurate because their
system apparently works better with metric inputs.

Thanks, Heiko