Author Topic: Excellon to GCode converter - Protel  (Read 306 times)

0 Members and 1 Guest are viewing this topic.

Offline ZASto

  • Active Member
  • Posts: 117
    • View Profile
Excellon to GCode converter - Protel
« on: September 30, 2018, 07:10:59 AM »
Since I'm using Protel for all my PCB design (from DOS versions up to 99SE) I needed a way to extract coordinates of pads for drilling to be able to drill my boards on small CNC router.
First versions were written in Quick Basic, but nowadays these programs do not work under 64-bit OS-es.
So, I rolled up the sleeves and wrote this one (links attached).

For converter to generate correct G-Code files, you have to follow following:
Excellon files must be in format - imperial 2:3 or metric 3:2 WITHOUT zero suppression (leading or trailing)

http://zastos.com/ConverterSetupC.exe - Creates folders C:\ProtelConverter and C:\ProtelConverter\Converted
http://zastos.com/ConverterSetupD.exe - Creates folders D:\ProtelConverter and D:\ProtelConverter\Converted

Output files are named Drillxx.tap and number of files depends on number of drills defined in Excellon file, and are located in ..\Converted subfolder

Converter maintains its own .ini file where relevant parameters are read from / saved to.

If anybody finds any nuances, let me know.

Of course, Converter is free for any kind of use.

Regards,
ZASto
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

Offline Tweakie.CNC

  • Global Moderator
  • *
  • Posts: 7,637
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Excellon to GCode converter - Protel
« Reply #1 on: September 30, 2018, 07:55:18 AM »
Hi ZASto,

Thank you for taking the time to share your hard work with the forum.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline ZASto

  • Active Member
  • Posts: 117
    • View Profile
Re: Excellon to GCode converter - Protel
« Reply #2 on: September 30, 2018, 10:59:08 AM »
Well, you like to make PCB's, the way that I do not like :)
I prefer chemistry and graphical film.
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.