Author Topic: Problems with PCB Drill files in 4:2, 4:3, 4:4 - from TXT to DRL  (Read 4435 times)

Offline Macs

  • Ewok
  • *
  • Posts: 1
    • View Profile
Hello everyone

I have a problem, I receive drilling files TXT from customers which I rename with the filename.DRL extension, and I open them.

If the drilling file was made with two decimals 4:2, there are no problems, I generate the files and feed them to the CNC, but if they are 4:3 or 4:4 the result is that everything is multiplied by 10 or by 100

;FILE_FORMAT=4:2
METRIC
;TYPE=PLATED
T1F00S00C0.30
T01
X012299Y-004360
Are X = 122.99 mm


;FILE_FORMAT=4:3
METRIC
;TYPE=PLATED
T1F00S00C0.300
T01
X0122992Y-0043602
Are X = 1229.92 mm

;FILE_FORMAT=4:4
METRIC
;TYPE=PLATED
T1F00S00C0.3000
T01
X01229920Y-00436020
Are X = 12299.20 mm

it is as if CAMBAM always sees two decimals first and obtains the dimension in mm.

Is there an import or pre-processor to define on loading how many decimals to work on an imported drilling file?

I get them from clients at 4:4, but it's impossible to edit them.

How can it be solved?


I haven't been able to, thank you for helping me.

Greetings
Max