Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Converting drill file in um to mm

Status
Not open for further replies.

Hawaslsh

Full Member level 3
Joined
Mar 13, 2015
Messages
164
Helped
5
Reputation
10
Reaction score
7
Trophy points
1,298
Location
Washington DC, USA
Activity points
3,422
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
 

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
 

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.

Capture.PNG

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

- - - 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

Capture.PNG

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

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

my apologies about the metric system lesson
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top