element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Chat (English) CAM file types
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 181 subscribers
  • Views 1041 views
  • Users 0 members are here
Related

CAM file types

autodeskguest
autodeskguest over 15 years ago

I am a bit confused by the file types created by CAM.  I am using

GERBER_RS274X_25 as recommended by my board house.  If I specify the top

copper (2 layer board) and a NAME I get two files NAME and NAME.gpi.

 

The board house says that Eagle should output a file NAME.cmp for this.

  All the other layers do similar.

 

Are there not standard file names that Eagle generates for the different

layers?

--

John Bachman, W1JGB

AnaTek Corporation

 

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 15 years ago

    ..gpi is only a ASCII information file. Use an simple text-editor to see its

    contents. AFAIR there are examples for the files setup at the end of the

    manual.

    r

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 15 years ago

    On 03/19/2010 03:59 PM, John Bachman wrote:

    I am a bit confused by the file types created by CAM.  I am using

    GERBER_RS274X_25 as recommended by my board house.  If I specify the top

    copper (2 layer board) and a NAME I get two files NAME and NAME.gpi.

     

    The board house says that Eagle should output a file NAME.cmp for this.

    All the other layers do similar.

     

    Are there not standard file names that Eagle generates for the different

    layers?

     

    I've never heard of a standard file naming scheme.  But to make things

    clear, I always embed the name of the layer in the file name.

     

    NAME-RevA-TopScreen.gbr

    NAME-RevA-TopMask.gbr

    NAME-RevA-TopPaste.gbr

    NAME-RevA-TopCopper.gbr

    NAME-RevA-Inner1.gbr

    ...

     

    Of course, I'll substitute the NAME with the actual part number of the

    board.  In our house, it's usually a 6-digit number.

     

    That way there's no ambiguity at all as to which gerber file describes

    which layer.

     

    As for creating the job itself, I usually copy the .cam file from some

    other project, and do a global search-and-replace on the old name and

    revision.  Then I load it into the CAM processor and run from there.

    This seems to be a lot easier than manually editing each section from

    the GUI interface.

     

    I have also added a section to each CAM file that various internal shell

    scripts external to Eagle understand.  Eagle conveniently ignores these

    "extended" sections when loading the .cam file.

     

    Oddly enough, the .cam file has a structure similar to Winbloze's .ini

    file.  It'd be nice if they went to an XML or even a properties file

    format that could be easily read by Java.  Perhaps that's something I

    should post to the suggestion forum.

     

    Enjoy,

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 15 years ago

    On 3/19/2010 7:41 PM, Chuck Huber wrote:

    On 03/19/2010 03:59 PM, John Bachman wrote:

    I am a bit confused by the file types created by CAM.  I am using

    GERBER_RS274X_25 as recommended by my board house.  If I specify the top

    copper (2 layer board) and a NAME I get two files NAME and NAME.gpi.

     

    The board house says that Eagle should output a file NAME.cmp for this.

      All the other layers do similar.

     

    Are there not standard file names that Eagle generates for the different

    layers?

     

    I've never heard of a standard file naming scheme.  But to make things

    clear, I always embed the name of the layer in the file name.

     

    NAME-RevA-TopScreen.gbr

    NAME-RevA-TopMask.gbr

    NAME-RevA-TopPaste.gbr

    NAME-RevA-TopCopper.gbr

    NAME-RevA-Inner1.gbr

    ...

     

    Of course, I'll substitute the NAME with the actual part number of the

    board.  In our house, it's usually a 6-digit number.

     

    That way there's no ambiguity at all as to which gerber file describes

    which layer.

     

    As for creating the job itself, I usually copy the .cam file from some

    other project, and do a global search-and-replace on the old name and

    revision.  Then I load it into the CAM processor and run from there.

    This seems to be a lot easier than manually editing each section from

    the GUI interface.

     

    I have also added a section to each CAM file that various internal shell

    scripts external to Eagle understand.  Eagle conveniently ignores these

    "extended" sections when loading the .cam file.

     

    Oddly enough, the .cam file has a structure similar to Winbloze's .ini

    file.  It'd be nice if they went to an XML or even a properties file

    format that could be easily read by Java.  Perhaps that's something I

    should post to the suggestion forum.

     

    Enjoy,

         - Chuck

    Thanks for the reply.

     

    I dug into the manual a bit more and got even more confused.  Pages 272

    and 273 list the file names and extensions that running Gerber274x

    supposedly produces:

     

              %Name.cmp

              %Name.sol

              %Name.plc

              %Name.stc

              %Name.sts

     

    When I run it I get the file name that I entered into that block and a

    Name.gpi file and nothing more.

     

    --

    John Bachman, W1JGB

    AnaTek Corporation

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 15 years ago

    On 03/21/2010 10:35 AM, John Bachman wrote:

    On 3/19/2010 7:41 PM, Chuck Huber wrote:

    ...

    I've never heard of a standard file naming scheme.  But to make things

    clear, I always embed the name of the layer in the file name.

     

    NAME-RevA-TopScreen.gbr

    NAME-RevA-TopMask.gbr

    NAME-RevA-TopPaste.gbr

    NAME-RevA-TopCopper.gbr

    NAME-RevA-Inner1.gbr

    ...

     

    Thanks for the reply.

     

    I dug into the manual a bit more and got even more confused.  Pages 272

    and 273 list the file names and extensions that running Gerber274x

    supposedly produces:

     

            %Name.cmp

            %Name.sol

            %Name.plc

            %Name.stc

            %Name.sts

     

    When I run it I get the file name that I entered into that block and a

    Name.gpi file and nothing more.

     

    I took a look at gerb274x.cam that was distributed with 5.7.0.  It

    should be producing more than just the .gpi's.  The file name extensions

    of ".cmp", ".sol", and such are left over from the pre-surface-mount

    days when all the components were put on one side of the board and

    soldered on the other.  With the advent of surface mount technology,

    components can be placed on both sides of the board rendering the

    nomenclature "component side" and "solder side" obsolete.  These are

    generally replaced with "top" and "bottom".

     

    Getting back to the original problem, the "%N" will expand to the name

    of the file that is currently opened.  So if the file you have opened is

    called "test.brd", you should expect files named:

     

        test.cmp

        test.sol

        test.plc

     

    and so on.

     

    Each section of a cam job will produce its own .gpi file.  So Section 1

    titled "Component Side" will produce  "test.cmp" and "test.gpi".

    Section 2, which is titled "Solder side" will produce "test.sol" and

    "test.gpi".  Notice that the .gpi file produced in the first section

    gets overwritten with the gpi produced in the second section.

     

    Therein lies the reason for doing more with the file name as described

    in a previous post.

     

    May I suggest trying this: copy gerb274x.cam to a new file "test.cam".

    Edit "test.cam" in your favorite plain text editor (notepad, vim, emacs,

    etc) and change the output names of each section to something like:

     

        %N-TopCopper.gbr

        %N-BotCopper.gbr

        %N-TopScreen.gbr

        %N-TopMask.gbr

        %N-BotMask.gbr

     

    Save it, load it in the cam processor, and run it.  What output do you get?

     

    Hope this helps.

     

    Enjoy,

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 15 years ago

    On 03/19/2010 03:59 PM, John Bachman wrote:

    I am a bit confused by the file types created by CAM.  I am using

    GERBER_RS274X_25 as recommended by my board house.  If I specify the

    top copper (2 layer board) and a NAME I get two files NAME and NAME.gpi.

     

    The board house says that Eagle should output a file NAME.cmp for

    this.  All the other layers do similar.

     

    Are there not standard file names that Eagle generates for the

    different layers?

     

    After re-reading your original post, I think I see what's happening.

    Are you clicking on "Process Section" or on "Process Job".  The former

    will run only the section that's selected; the latter will run all sections.

     

    I have attached a CAM file for a 4-layer board.  Perhaps it will serve

    as an adequate example.

     

    Enjoy,

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 15 years ago

    On 3/21/2010 11:35 AM, Chuck Huber wrote:

    On 03/19/2010 03:59 PM, John Bachman wrote:

    I am a bit confused by the file types created by CAM.  I am using

    GERBER_RS274X_25 as recommended by my board house.  If I specify the

    top copper (2 layer board) and a NAME I get two files NAME and NAME.gpi.

     

    The board house says that Eagle should output a file NAME.cmp for

    this.  All the other layers do similar.

     

    Are there not standard file names that Eagle generates for the

    different layers?

     

    After re-reading your original post, I think I see what's happening.

    Are you clicking on "Process Section" or on "Process Job".  The former

    will run only the section that's selected; the latter will run all sections.

     

    I have attached a CAM file for a 4-layer board.  Perhaps it will serve

    as an adequate example.

     

    Enjoy,

         - Chuck

     

    OK, that helped a lot.  I think that I have it now.  Thanks very much.

     

    Now on to making a drill file.

     

    --

    John Bachman, W1JGB

    AnaTek Corporation

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube