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
  • 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) Automated release script?
  • 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 5 replies
  • Subscribers 179 subscribers
  • Views 563 views
  • Users 0 members are here
Related

Automated release script?

autodeskguest
autodeskguest over 16 years ago

I am looking to automate the board release process.

 

Does the CAM processor have command line options that can be run through a

script? I have a cam job pre-defined so, by itself, this is not a big issue.

 

We also use the BOM-AM-17.ulp  bill of material processor to make up the

parts list and SMT placement list. Are there any command line options for

this? Are there any general rules for passing data to a ulp by command line?

 

tia - Oppie

 

 

  • Sign in to reply
  • Cancel
Parents
  • Richard_H
    Richard_H over 16 years ago

    Oppie schrieb:

    I am looking to automate the board release process.

     

    Does the CAM processor have command line options that can be run through

    a script? I have a cam job pre-defined so, by itself, this is not a big

    issue.

     

    You can start eagle with command line options and make, for example,

    a batch file for the CAM processor output.

    See appendix, chapter 10.3, in the EAGLE manual.

     

     

    We also use the BOM-AM-17.ulp  bill of material processor to make up the

    parts list and SMT placement list. Are there any command line options

    for this? Are there any general rules for passing data to a ulp by

    command line?

     

    tia - Oppie

     

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

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

    Richard Hammerl wrote on Tue, 21 July 2009 05:21

    Oppie schrieb:

    I am looking to automate the board release process.

     

    Does the CAM processor have command line options that can be run

    through

    a script? I have a cam job pre-defined so, by itself, this is not a

    big

    issue.

     

    You can start eagle with command line options and make, for example,

    a batch file for the CAM processor output.

    See appendix, chapter 10.3, in the EAGLE manual.

     

     

    Richard, is there a way to tell EAGLE to run a CAM job from the command

    line?  I can't see one.  I already have a CAM job with the funky %P

    placeholder (which really helps) so I'd rather have to not go and write a

    bash script or something for every layer to accomplish the same thing.

     

    Ideally, I'd like to see

     

    eagle -CAM 6l-2s-gerbers.cam design.brd

     

    and that would run the CAM processor, load the CAM configuration

    "6l-2s-gerbers.cam" on the design "design.brd".

     

    Cheers,

     

    James.

    --

    James Morrison  ~~~  Stratford Digital

     

    email:  james@eaglecentral.ca

    web: http://www.eaglecentral.ca

     

    Specialising in CadSoft EAGLE

    • Online Sales to North America

    • Electronic Design Services

    • EAGLE Enterprise Toolkit

    --

    Browser access to CadSoft Support Forums at http://www.eaglecentral.ca

     

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

    Richard Hammerl wrote on Tue, 21 July 2009 05:21

    Oppie schrieb:

    I am looking to automate the board release process.

     

    Does the CAM processor have command line options that can be run

    through

    a script? I have a cam job pre-defined so, by itself, this is not a

    big

    issue.

     

    You can start eagle with command line options and make, for example,

    a batch file for the CAM processor output.

    See appendix, chapter 10.3, in the EAGLE manual.

     

     

    Richard, is there a way to tell EAGLE to run a CAM job from the command

    line?  I can't see one.  I already have a CAM job with the funky %P

    placeholder (which really helps) so I'd rather have to not go and write a

    bash script or something for every layer to accomplish the same thing.

     

    Ideally, I'd like to see

     

    eagle -CAM 6l-2s-gerbers.cam design.brd

     

    and that would run the CAM processor, load the CAM configuration

    "6l-2s-gerbers.cam" on the design "design.brd".

     

    Cheers,

     

    James.

    --

    James Morrison  ~~~  Stratford Digital

     

    email:  james@eaglecentral.ca

    web: http://www.eaglecentral.ca

     

    Specialising in CadSoft EAGLE

    • Online Sales to North America

    • Electronic Design Services

    • EAGLE Enterprise Toolkit

    --

    Browser access to CadSoft Support Forums at http://www.eaglecentral.ca

     

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

    It would help a lot if the CAM processor had some neat extra features:

    -Add a section load a specific project, brd or sch

    -Add a section to run a specific ULP (also needs access to sch) or

    executable

    -Add a section to print to pdf (also needs access to sch)

     

    This way, i think you could fully automate the release process.

     

     

     

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

    James Morrison schrieb:

    Richard Hammerl wrote on Tue, 21 July 2009 05:21

    Oppie schrieb:

    I am looking to automate the board release process.

    Does the CAM processor have command line options that can be run

    through

    a script? I have a cam job pre-defined so, by itself, this is not a

    big

    issue.

     

    You can start eagle with command line options and make, for example,

    a batch file for the CAM processor output.

    See appendix, chapter 10.3, in the EAGLE manual.

     

    Richard, is there a way to tell EAGLE to run a CAM job from the command

    line?  I can't see one.  I already have a CAM job with the funky %P

    placeholder (which really helps) so I'd rather have to not go and write a

    bash script or something for every layer to accomplish the same thing.

     

    Ideally, I'd like to see

     

    eagle -CAM 6l-2s-gerbers.cam design.brd

     

    and that would run the CAM processor, load the CAM configuration

    "6l-2s-gerbers.cam" on the design "design.brd".

     

    James,

     

    no you can't load a CAM job this way.

    You have to write a script/batch file that generates one Gebrer file

    after the other...

     

    eagle -X -dgerber_rs274x -ogeberfile.cmp  test.brd  1 17 18

    eagle -X -dgerber_rs274x -ogeberfile.sol  test.brd 16 17 18

    eagle -X -dgerber_rs274x -ogeberfile.plc  test.brd 20 21 25

     

     

    and so on....

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

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

    On 01/21/2010 04:46 AM, Richard Hammerl wrote:

    James Morrison schrieb:

    Richard Hammerl wrote on Tue, 21 July 2009 05:21

    Oppie schrieb:

    I am looking to automate the board release process.

    Does the CAM processor have command line options that can be run

    through

    a script? I have a cam job pre-defined so, by itself, this is not a

    big

    issue.

     

    James,

     

    no you can't load a CAM job this way.

    You have to write a script/batch file that generates one Gebrer file

    after the other...

     

    eagle -X -dgerber_rs274x -ogeberfile.cmp  test.brd  1 17 18

    eagle -X -dgerber_rs274x -ogeberfile.sol  test.brd 16 17 18

    eagle -X -dgerber_rs274x -ogeberfile.plc  test.brd 20 21 25

     

     

    and so on....

     

     

    You could combine this with a batch script that parses the .cam file to

    produce a temporary shell script that then gets executed.

     

    Maybe adding an "execute ULP" would be a good suggestion for a command

    line option.  I can see where the release process might bump a global

    attribute "REVISION".  There's no way to do this from the command line.

     

    Of course, when XML .sch and .brd files are available, it'd be easy to

    parse that to pull pertinent data out of it.

     

    Enjoy,

        - Chuck

     

    • 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 © 2025 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