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 Support (English) Added Generic Commands to CAM Processor
  • 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 8 replies
  • Subscribers 190 subscribers
  • Views 681 views
  • Users 0 members are here
Related

Added Generic Commands to CAM Processor

e14 Contributor
e14 Contributor over 15 years ago

One final improvement to the CAM processor.  It would be great to have a

"command" device where you could specify an EAGLE command to run, like

running a ULP.  If this was strictly a "ULP" command that would be OK too.

 

Doing this would allow for auto-generation of BOM and x-y data when the CAM

file is processed.  This would help ensure those files match the PCB gerber

files since they are all created at the same point in time.

 

With all these changes the CAM processor would really become "Export

Manager" or something like that.

 

Cheers,

 

James.

--

James Morrison  ~~~  Stratford Digital

 

Specializing in CadSoft EAGLE

  • Online Sales to North America

  • Electronic Design Services

  • EAGLE Enterprise Toolkit

--

Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

 

  • Sign in to reply
  • Cancel
  • dukepro
    dukepro over 13 years ago in reply to e14 Contributor

    On 11/12/2010 08:28 AM, James Morrison wrote:

    James Morrison wrote on Thu, 11 November 2010 11:10

    >> With all these changes the CAM processor would really become "Export

    >> Manager" or something like that.

    >

    One other use of this is would be to run a script to delete those really

    annoying .gpi files that are created for the gerbers.  They confuse board

    houses when you send them and they have no use that I've ever seen.  So I

    always just delete them.  But it's an unnecessary step that I should be

    able to get EAGLE to do somehow.   A cleanup script to run as the last

    section of a CAM job would be a good place to do it.

     

    James.

     

    James,

     

    This is an excellent suggestion.  Two additional sections could be added

    to the cam file - one for PRE-CAM actions, and one for POST-CAM actions.

     

       

        Description="..."

        Section=camprep

        Section=TopScreen

        ...

        Section=Drill

        Section=campost

     

       

        ULP="drillcfg.ulp"

        ULP="genxydata.ulp"

        ...

     

       

        ULP="cam-wrapup.ulp"

        ULP="/usr/local/lib/my-cam-stuff.ulp"

     

    We're all familiar with drillcfg.ulp, but it could be modified to

    automatically save without mods in inches.  "cam-wrapup.ulp" can launch

    a shell to run a shell script.  It could also produce the x-y data,

    clean up the .gpi files, and zip everything together to send to the fab

    house.

     

    The CAM processor would recognize the exit status of the ULP.  If

    non-zero, stop the job.

     

    The capabilities are interesting with an added feature like this.

     

     

    Attachments:
    7457.att1.html.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to e14 Contributor

    Or script it in TCL and it'll run on all platforms.

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

    On 11/12/2010 08:25 AM, James Morrison wrote:

    The problem with the shell script approach, is that isn't OS

    independent. I use EAGLE on all three platforms so it would require 2 or

    3 different scripts to be maintained. I don't want that. The CAM processor,

    > with a few extensions, would fit the bill nicely. But again, I don't

    > care how it gets done.

     

    You could write a single Bourne shell script, and use Cygwin to run it

    on Windows.  It should run natively on Linux and Mac, as long as you

    keep to the basics.

     

    -Dave

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 15 years ago in reply to kcadsoft

    On 11/12/2010 12:25 AM, Klaus Schmidinger wrote:

    On 11/11/10 17:10, James Morrison wrote:

    >> One final improvement to the CAM processor.  It would be great to have a

    >> "command" device where you could specify an EAGLE command to run, like

    >> running a ULP.  If this was strictly a "ULP" command that would be OK too.

    >>

    >> Doing this would allow for auto-generation of BOM and x-y data when the CAM

    >> file is processed.  This would help ensure those files match the PCB gerber

    >> files since they are all created at the same point in time.

    >>

    >> With all these changes the CAM processor would really become "Export

    >> Manager" or something like that.

     

    Your last three suggestions sound like you're trying to cram things

    into the CAM Processor that could be easily (and much more powerful)

    be done with a simple shell script (or "batch file", in Windows-speak ;-).

     

    Klaus Schmidinger

    I support James' suggestion.

     

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

    James Morrison wrote on Thu, 11 November 2010 11:10

    With all these changes the CAM processor would really become "Export

    Manager" or something like that.

     

     

    One other use of this is would be to run a script to delete those really

    annoying .gpi files that are created for the gerbers.  They confuse board

    houses when you send them and they have no use that I've ever seen.  So I

    always just delete them.  But it's an unnecessary step that I should be

    able to get EAGLE to do somehow.   A cleanup script to run as the last

    section of a CAM job would be a good place to do it.

     

    James.

    --

    James Morrison  ~~~  Stratford Digital

     

    Specializing in CadSoft EAGLE

    • Online Sales to North America

    • Electronic Design Services

    • EAGLE Enterprise Toolkit

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

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

    Morten Leikvoll wrote on Fri, 12 November 2010 04:21

    "Klaus Schmidinger" <Klaus.Schmidinger@cadsoft.de[/email]> wrote in

    message

    news:ibitlj$oev$1@cheetah.cadsoft.de...[/email]

    Your last three suggestions sound like you're trying to cram

    things

    into the CAM Processor that could be easily (and much more

    powerful)

    be done with a simple shell script (or "batch file", in

    Windows-speak image.

     

    I guess you could use the same logic to leave out the cam gui all

    together.

    Maybe the solution is a "script tree" in the control panel, with a gui

     

    helping you make the script/batchfile. Or you could rename the "cam

    jobs" to

    "batch jobs" (and rethink the intention of it) and listen to James'

    suggestion (which I have suggested before and support fully).

     

     

    Thanks Morten.

     

    Like Morten, I don't really care what you call it or how exactly it gets

    implemented.  Let me restate it in slightly more generic terms.

     

    It would nice to be able to configure EAGLE to generate ALL output files

    required with one user command (be that a script, a button, ...).  The

    output required in my cases would be gerbers, drill files, mechanical

    drawings in PDF (DWG would be better), schematics in PDF, bom and x-y data

    in .csv.

     

    All of these files are required to support the manufacturing of the

    product.  It is absolutely imperative that they all are generated from

    exactly the same design file.  So give the user an atomic operation (i.e.

    once the user starts it will carry out to completion) to create all the

    required documents.

     

    The problem with the shell script approach, is that isn't OS independent.

    I use EAGLE on all three platforms so it would require 2 or 3 different

    scripts to be maintained.  I don't want that.  The CAM processor, with a

    few extensions, would fit the bill nicely.  But again, I don't care how it

    gets done.

     

    James.

     

     

     

     

    --

    James Morrison  ~~~  Stratford Digital

     

    Specializing in CadSoft EAGLE

    • Online Sales to North America

    • Electronic Design Services

    • EAGLE Enterprise Toolkit

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 15 years ago in reply to kcadsoft

     

    "Klaus Schmidinger" <Klaus.Schmidinger@cadsoft.de> wrote in message

    news:ibitlj$oev$1@cheetah.cadsoft.de...

    Your last three suggestions sound like you're trying to cram things

    into the CAM Processor that could be easily (and much more powerful)

    be done with a simple shell script (or "batch file", in Windows-speak image.

     

    I guess you could use the same logic to leave out the cam gui all together.

    Maybe the solution is a "script tree" in the control panel, with a gui

    helping you make the script/batchfile. Or you could rename the "cam jobs" to

    "batch jobs" (and rethink the intention of it) and listen to James'

    suggestion (which I have suggested before and support fully).

     

     

     

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

    On 11/11/10 17:10, James Morrison wrote:

    One final improvement to the CAM processor.  It would be great to have a

    "command" device where you could specify an EAGLE command to run, like

    running a ULP.  If this was strictly a "ULP" command that would be OK too.

     

    Doing this would allow for auto-generation of BOM and x-y data when the CAM

    file is processed.  This would help ensure those files match the PCB gerber

    files since they are all created at the same point in time.

     

    With all these changes the CAM processor would really become "Export

    Manager" or something like that.

     

    Your last three suggestions sound like you're trying to cram things

    into the CAM Processor that could be easily (and much more powerful)

    be done with a simple shell script (or "batch file", in Windows-speak ;-).

     

    Klaus Schmidinger

    --

    _______________________________________________________________

     

    Klaus Schmidinger                       Phone: +49-8635-6989-10

    CadSoft Computer GmbH                   Fax:   +49-8635-6989-40

    Pleidolfweg 15                          Email:   kls@cadsoft.de

    D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de

    _______________________________________________________________

     

    • 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube