← Back to team overview

kicad-developers team mailing list archive

Re: Converting KiCAD to metric units: The approach

 

On 06/28/2011 08:21 AM, Lorenzo Marcantonio wrote:
> On Tue, 28 Jun 2011, Dick Hollenbeck wrote:
>> Why less legible file format?   I am not arguing for tens of nm, I am saying
>> that that decision has no bearing on file format human readability.
> The 'slightly' was 'slightly' ironic... it's only 'more' intuitive in nm
> than in tens on nm. Of course at the end it's exactly the same :D
>
>> Are we no longer in agreement that we will be saving these interim board files
>> in either mm or mils?
> I wouldn't care less of the actual unit used. Everything that's needed
> is already in place, so we just have to decide. The mm/mil syntax would
> be fine for me


I look now at my board file, I see this already:


$SETUP
InternalUnit 0.000100 INCH


We change it to this:


$SETUP
InternalUnit mils


or this, at time of save:

$SETUP
InternalUnit mm


this gets us by for 2 years.  The file save and load functions have to do
scaling.  This is new code that does not currently exist.













Follow ups

References