View Full Version : Help installing and running pcb2gcode

12-11-2012, 12:46 AM
Hi has anybody installed and is running pcb2gcode? I am having a horrible time trying to get it to work...gerbmerge was easier to get running. I hate spending days on software just trying understand it and get it to work!!! Maybey someone could put a tutorial here or link to one for how to install and run pcb2gcode as I havn't found any tutorials or hints or anything.

12-11-2012, 02:08 AM
What platform are you using?
What version are you trying to use.

I am using it under Fedora, but it has been a while since I built it. Also used it in Ubuntu from LinuxCNC install in the past. I bereave a pre-built package is available for it.
I seem to remember it built fine once you had all the build dependencies covered.
There are a bunch of settings to tweek to get good results, but they are all listed in --help.

12-11-2012, 02:46 AM
Well the one in your link worked a lot better but still havn't gotten it running yet. I'm using ubuntu. I'm trying to use 1.1.4 now...the last package I downloaded was different then the one in your link. I also havn't ever used the linux terminal window much before either so now I guess I will be catching up lol.

-I used the archive manager and extracted to my Desktop.
-Opened the terminal window and went to pcb2gcode folder
-Next I read the readme file for ubuntu and copied and pasted the first two lines in terminal and it worked.
-Next I tried to ./configure and it didn't do anything.

That's as far as I've gotten now but it's a lot farther than the last package I uploaded...

12-11-2012, 03:02 AM
Ok I'm making much more progress now I used the section that says:

Instillation from Git (latest development version) and then just coppied and paste those commands in the terminal window.

I can now use the terminal window and type: pcb2gcode --help : )

So now I just need to learn how to run it.

12-11-2012, 03:40 AM
Ok I seem to be off and running now just tweeking the millproject file...talk about a learning curve lol...

12-11-2012, 05:25 AM
Yes, the curve is steep. Especially if you are not use to command line.
Welcome to the world of Linux / open source software! :)
I wrote some scripts to help automate the settings a bit with a GUI.
I also use it to optimize and z-level files for engraving.

WARNING there are some bugs, (i.e. z-depth was inverted, +/-) I wrote it for my own use but posted it in case it could help someone else. I have fixed some bugs and made some changes, but haven't had time to clean it up and post a new version. There were no comments, so I figured no one cared. I recently tried using my newest version in Ubuntu and it did not run, but is ok in Fedora, I have to find what broke.(Python version?) Since I only use Ubuntu for EMC, I have not taken time to fix it yet.

Post how you make out and I will help if I can.