ODB2GBR Sample CodeThe odb2gbr.exe sample opens a ODB++ file or directory, lists the steps and layers and then converts the selected step and layer(s) to Gerber files. This sample exercises all of the key API calls for ODB2GBR.DLL. The source and MS project files for odb2gbr.exe are located in the \lib\cvtodbtogbr directory User InterfaceThe user interface includes:
After defining the appropriate directory and input file, one presses the Open ODB Directory button. This causes the program to open the file/directory and then to scan it for the steps and layers. The list of steps and layers is filled in on the right hand side. To create Gerber output the user must select a step (only possible to select one step at a time) and one or more layers. Then press the Convert ODB to Gerber button and the Gerber files are written to the specified output directory.
To check the results we open an ODB++ file using CAM350 and turn on the top layer.
Next, we open the Gerber file generated by ODB2GBR called top.gbr using Artwork's GBRVU
|
Download |
Revision History |
Price |
|
ARTWORK CONVERSION SOFTWARE, INC. Company Profile 417 Ingalls St., Santa Cruz, CA 95060 Tel (831) 426-6163 Fax 426-2824 email: info@artwork.com |