Skip to content

florintanasa/pcb2gcode

 
 

Repository files navigation

This is a fork of git://pcb2gcode.git.sourceforge.net/gitroot/pcb2gcode/pcb2gcode.

Changes to original:
- option to set g64 manually istead of internal dpi>g64 calculation.
- metric output option.
- option to use only one drillsize.
- option to cut outline from the front.
- calculate boardwith for drill file based on drill coordinates, not on top/bottom layer.
- reformatted the code with Eclipse code styler (K&R).
- started documenting the code.

ToDo:
- The Milldrill option does not work with metricoutput yet.
- Why is no front+back side generated if a single pcb2gcode call is used?

ORIGINAL README:

This is a complete rewrite of the original pcb2gcode in C++.

Quick Installation
***************


Archlinux:
pcb2gcode stable 1.1.3 -> https://aur.archlinux.org/packages.php?ID=50457
pcb2gcode git 1.1.4 -> https://aur.archlinux.org/packages.php?ID=55198


Fedora:
*) Open a terminal and cd to the extracted tarball
*) type the following:
      su
      <the root password>
      yum groupinstall "Development Tools"
      yum install automake autoconf libtool boost-devel gtkmm24-devel gerbv-devel
      exit
      ./configure
      make
      su -c 'make install'
*) done.


Debian, Ubuntu:
There are pcb2gcode packages in the official repositories.
The Ubuntu ones are outdated (1.1.2) as of 26-12-2011, I recommend installing 1.1.4 from source.

*) Open a terminal and cd to the extracted tarball
*) type the following:
      sudo apt-get install build-essential automake autoconf libtool libboost-all-dev libgtkmm-2.4-dev gerbv
      <your own password>
      ./configure
      make
      sudo make install
*) done.


Installation from GIT (latest development version):

$ git clone git://pcb2gcode.git.sourceforge.net/gitroot/pcb2gcode/pcb2gcode
$ cd pcb2gcode
$ ./git-build.sh
$ sudo make install

For further details, see INSTALL and http://sourceforge.net/apps/mediawiki/pcb2gcode