Difference between revisions of "Eagle Tips"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:
===Printing Schematics, PCBs, and BOMs from Eagle===
The [http://www.cadsoft.de Eagle] CAD drawings and schematics are available from the [[Downloads]] page.  A freeware version of Eagle program is available for Linux or Windows that allows for viewing and printing the hardware files.


These instructions are so far to reflect Windows Version as the author did not have access to the Linux version at the time of writing.
== Printing Schematics ==
 
===Printing Schematic===


Paparazzi schematics were drawn to print on an A4 sheet which is 210mm x 297mm (8.26in x 11.7in).  North America uses the Letter size of 8.5in x 11in and will print fine onto two Letter sheets but it is more convenient to print onto a single Letter sized sheet.  Below are instructions to do this.
Paparazzi schematics were drawn to print on an A4 sheet which is 210mm x 297mm (8.26in x 11.7in).  North America uses the Letter size of 8.5in x 11in and will print fine onto two Letter sheets but it is more convenient to print onto a single Letter sized sheet.  Below are instructions to do this.
 
'''From Windows:'''
With the schematic open go to File -> Print and you will see the print dialog
With the schematic open go to File -> Print and you will see the print dialog


Line 16: Line 14:


Under sheets check off ''select all'' to print all of the schematic pages 'or' select ''This'' to print the schematic page you were currently looking at.
Under sheets check off ''select all'' to print all of the schematic pages 'or' select ''This'' to print the schematic page you were currently looking at.
== Gerbers ==
The format generally accepted by PCB manufacturers is called gerber and is a collection of individual files representing each layer or aspect of the PCB. The gerber files can be produced using the CAM processor of Eagle.  The commands needed for this operation in Linux are contained in the Makefile of the hw directory, and thus typing ''make gerber'' from this directory will produce a set of gerbers.
The Makefile can also be used to get the CAM processor to generate printable documents for the schematics and implantation of parts (pdf and postcript) . Typing ''make printable'' in the hw directory should do the trick.
== Panels ==
[[Image:panel.jpg|thumb|Example panel]]
If you're going to have PCBs manufactured, you'll probably want to fit several boards on a sheet.  This is called a panel. The paparazzi3/hw/panel directory contains a makefile and some config files that will allow you to do that. It uses the [http://claymore.engineer.gvsu.edu/~steriana/Python/gerbmerge/ germerge] program. The [http://gerbv.sourceforge.net/ gerbv] program will allow you to check your results.
After completing the ''layout.cfg'' and ''layout.def'' files in the panel directory, all you have to do is type ''make _panel''. Then, to view the result, ''make _view''
<br style="clear:both">
== 3D views ==
[[Image:tiny_3d_rendering.jpg|thumb|Eagle 3D rendering]]
3-D renderings can be produced using the [http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d eagle3d] script and the [http://www.povray.org/ povray] raytracer.  A copy of this script and associated povray libraries are in the paparazzi3/hw/ulp and paparazzi/hw/povray.
To produce such a view from the eagle board view click the ulp button and select the paparazzi3/hw/ulp/3d41.ulp script. The script will produce a file usable by povray. Have the script put the generated file in the paparazzi3/hw/povray directory. Then in this directory, issue the following command ''povray tiny.pov'' to have povray generate the image.
<br style="clear:both">

Revision as of 11:24, 13 December 2006

The Eagle CAD drawings and schematics are available from the Downloads page. A freeware version of Eagle program is available for Linux or Windows that allows for viewing and printing the hardware files.

Printing Schematics

Paparazzi schematics were drawn to print on an A4 sheet which is 210mm x 297mm (8.26in x 11.7in). North America uses the Letter size of 8.5in x 11in and will print fine onto two Letter sheets but it is more convenient to print onto a single Letter sized sheet. Below are instructions to do this. From Windows: With the schematic open go to File -> Print and you will see the print dialog

Eagle-print-win32.png

Under STYLE, check off ROTATE, BLACK, and SOLID

Scale Factor is the important setting and you will want to put 0.65. If it cuts too much off, try lowering this number by 0.1 each time.

Under sheets check off select all to print all of the schematic pages 'or' select This to print the schematic page you were currently looking at.

Gerbers

The format generally accepted by PCB manufacturers is called gerber and is a collection of individual files representing each layer or aspect of the PCB. The gerber files can be produced using the CAM processor of Eagle. The commands needed for this operation in Linux are contained in the Makefile of the hw directory, and thus typing make gerber from this directory will produce a set of gerbers.

The Makefile can also be used to get the CAM processor to generate printable documents for the schematics and implantation of parts (pdf and postcript) . Typing make printable in the hw directory should do the trick.

Panels

Example panel

If you're going to have PCBs manufactured, you'll probably want to fit several boards on a sheet. This is called a panel. The paparazzi3/hw/panel directory contains a makefile and some config files that will allow you to do that. It uses the germerge program. The gerbv program will allow you to check your results.

After completing the layout.cfg and layout.def files in the panel directory, all you have to do is type make _panel. Then, to view the result, make _view

3D views

Eagle 3D rendering

3-D renderings can be produced using the eagle3d script and the povray raytracer. A copy of this script and associated povray libraries are in the paparazzi3/hw/ulp and paparazzi/hw/povray.

To produce such a view from the eagle board view click the ulp button and select the paparazzi3/hw/ulp/3d41.ulp script. The script will produce a file usable by povray. Have the script put the generated file in the paparazzi3/hw/povray directory. Then in this directory, issue the following command povray tiny.pov to have povray generate the image.