← Back to team overview

kicad-developers team mailing list archive

Re: Converting KiCAD to metric units: The approach

 

On 06/28/2011 08:27 AM, Dick Hollenbeck wrote:
> 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:

oops, to this

$SETUP
Units mils


or this, at time of save:

$SETUP
Units mm


The internal units are no longer anybody's business.



>
> $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.
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References