+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Member level 3
    Points: 1,132, Level: 7

    Join Date
    Mar 2015
    Location
    Washington DC, USA
    Posts
    64
    Helped
    5 / 5
    Points
    1,132
    Level
    7

    Converting drill file in um to mm

    Hello all,

    I spent a long time laying out a panelized design, and I did all the work in um (ug, hindsight). When i created the gerber files it converted everything to mm. However, my drill file (while being in metric) is still outputting in um, so the gerbers and drill file don't overlay.
    I spent some time researching how to make this conversion and I can't seem to get it right. The tool sizes are 127 and 254 um diameter. and those coordinates seem to be in 000000. format, meaning the first hole is at X = 35,813um and Y = 258,768um

    I posted an abridged version below, any suggestions on how to force the correct decimal place would be much appreciated!


    M48
    M71, LZ
    T01C0.127
    T02C0.254
    %
    T01
    X035813Y258768
    X035959Y042774
    X037765Y042493
    X040563Y255437
    X041345Y056116
    X043151Y055835
    X043590Y202108
    T00
    M30

    it probably wont matter in the long run, pretty sure the circuit fab folks can figure this one out. But its mostly for my edification.
    Thanks in advance,
    Sami

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 6
    Points: 1,920, Level: 10

    Join Date
    Jan 2019
    Posts
    360
    Helped
    88 / 88
    Points
    1,920
    Level
    10

    Re: Converting drill file in um to mm

    mm is millimeter, 10^-3 m
    um is micrometer, 10^-6 m

    converting requires moving decimal point 3 places corresponding to multiplying or dividing by 1000,
    depending one which way you're going.

    since X035813 Y258768 is in um,
    it should be X035.813 Y258.768 in mm
    i separated the values for easier reading

    i do not know what the format should be in your drill file



    •   AltAdvertisement

        
       

  3. #3
    Member level 3
    Points: 1,132, Level: 7

    Join Date
    Mar 2015
    Location
    Washington DC, USA
    Posts
    64
    Helped
    5 / 5
    Points
    1,132
    Level
    7

    Re: Converting drill file in um to mm

    Quote Originally Posted by wwfeldman View Post
    i do not know what the format should be in your drill file
    Appreciate the reply, but, I understand how the metric system works. Placing those decimals was obviously the first thing i tried.

    Its the correct format that's in question. Microwave office claims its exporting a NC drill file. However, Even the hole size, as defined creates a 3.25mm diameter via, not sure how that number comes about with how I defined the tool diameters.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	0 
Size:	76.8 KB 
ID:	155083

    this has to be the dumbest problem to run into after weeks of design, testing, and layout....

    - - - Updated - - -

    Time to let the thread die

    For some reason I had to change M71 ,LZ --> METRIC. Whatever works.

    M48
    METRIC
    T01C0.127
    T02C0.254
    %
    T01
    X35.813Y258.768
    X35.959Y42.774
    X37.765Y42.493
    X40.563Y255.437

    Click image for larger version. 

Name:	Capture.PNG 
Views:	1 
Size:	115.2 KB 
ID:	155086

    Only reason to post the update; hope this can save someone some time in the future.



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 6
    Points: 1,920, Level: 10

    Join Date
    Jan 2019
    Posts
    360
    Helped
    88 / 88
    Points
    1,920
    Level
    10

    Re: Converting drill file in um to mm

    i think you did good
    you can stop banging your head against the wall

    my apologies about the metric system lesson



--[[ ]]--