This is a project i mainly did on a single boring Saturday while i spent several months in Seattle to work for a bigger company (no, don't worry, it wasn't Microsoft ;). It has some nice features, fairly modular and is still pretty small, so extending it for other projects shouldn't be a big problem. The core of the program is a virtual plotter, which simulates a real world plotter and it's behaviour using a state machine and a parser. Output is done via a Java Graphics Context. This way i have included in the main program not only a on screen display but also implemented a print routine and an image export. Export to other formats should be straight forward using the Graphics context of Java.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Thats really easy. First download the binary package , then untar it to any directory you like:
tar zxvf rs274x_bin.tar.gz
Then simply go to that directory and start the main program:
cd RS-274X ./RS274X
Thats it! Now load a file, press the draw button and if the magnification is not correct, try to reduce it until you see something. If you want to save it as an image, simply press the 'Save' button, and for printing it press the 'Print' button.
Gerber RS-274D/X viewer Java classes
Gerber RS-274D/X viewer Java source
Gerber RS-274D/X file format documentation
Gerber RS-274D/X complete package
All mentioned registered names are trademarks of their owners.