A modified version of pcb2gcode which outputs metric G-code
Shell C++ Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
m4
man
testing
AUTHORS
COPYING
ChangeLog
Fixed.hpp
INSTALL
Makefile.am
NEWS
README
board.cpp
board.hpp
config.h.in
configure.ac
coord.hpp
depcomp
douglas_peucker.cpp
douglas_peucker.hpp
drill.cpp
drill.hpp
exporter.hpp
gerberimporter.cpp
gerberimporter.hpp
git-build.sh
importer.hpp
install-sh
layer.cpp
layer.hpp
main.cpp
mill.cpp
mill.hpp
millproject
ngc_exporter.cpp
ngc_exporter.hpp
options.cpp
options.hpp
smooth_ngc_exporter.cpp
smooth_ngc_exporter.hpp
surface.cpp
surface.hpp
svg_exporter.cpp
svg_exporter.hpp

README

Changelist:
* Drilling cycle changed to use basic G-code commands, as the controller I use does not support G81.
* Drilling cycle outputs metric coordinates- I will probably remove it because when using smooth=1 option, imperial units are used.
* Merged in code which simplifies G-code commands (implementation of Douglas-Peucker algorithm by Fritz). See: http://sourceforge.net/p/pcb2gcode/mailman/message/29321285/


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