About Eagle Command Line
Published on 2/25/2017 6:20:55 PM
Description
<style>.e_editor{font:14px/24px Arial,'microsoft yahei','Times New Roman','b8bf53';}.e_editor div,e_editor p,e_editor td,e_editor th,e_editor li{font-weight:inherit;font-size:inherit;font-style:inherit;font-family:inherit;}.e_editor ul{margin:-10px 0 20px;}.e_editor li{padding:5px 0;}.e_table{width:96%;border-collapse:collapse;empty-cells:show;}.e_table th,.e_table td{padding:5px;border:2px solid #eee;}.e_img{padding:10px 0;text-align:center;}.e_p{line-height:20px;padding:0 0 20px;text-indent:0em;}</style> <div class="e_editor"> <div class="e_p"> The Eagle command line is a way of typing commands into Eagle. Not sure how it looks? Well here it is: </div> <div class="e_img"> <img src="https://file.allpcb.com/bbs/p/wwwbuild-electronic-circuitscom/wwwbuild-electronic-circuitscomc20170227181853547.png" /> </div> <div class="e_p"> A few facts about the command line: </div> <ul> <li> It doesn’t differentiate between lowercase and capital letters (ADD or add) </li> <li> You can abbreviate keywords (MO instead of MOVE)’ </li> <li> You can find a list of available editor commands under “Editor Commands” in Eagle Help </li> </ul> <div class="e_p"> I have been thinking about the command line for a long time. Would it make me more efficient in designing electronic circuits? What is the benefit of using the command line?I decided to try it out. </div> <div class="e_p"> <h2> Trying Out the Command Line </h2> </div> <div class="e_p"> I found an interesting circuit that I wanted to build. So I started drawing the schematics in Eagle. Instead of clicking on the commands I typed them into the command line. Instead of clicking on the “Add” icon, I typed “ADD”. </div> <div class="e_p"> When the schematics was completed I thought to myself “Hmmm, this was not very efficient”. To be able to write the commands, I had to move my hand from the mouse over to the keyboard. It is much faster to just click. </div> <div class="e_img"> <img src="https://file.allpcb.com/bbs/p/wwwbuild-electronic-circuitscom/wwwbuild-electronic-circuitscomc20170227181855001.png" /> </div> <div class="e_p"> Then I thought to myself that maybe it would be beneficial when drawing the board layout. So I tried routing the board by typing commands instead of clicking. But the result was still the same. Not very efficient.I therefore conclude that for normal schematic design and board layout design, clicking the command icons is the way to go. </div> <div class="e_p"> <h2> Do You Need the Command Line? </h2> </div> <div class="e_p"> Typing “MOVE” instead of clicking on the “Move” icon is not efficient. BUT the command line allows you to do much more. It allows you to run Eagle Scripts and User Language Programs. </div> <div class="e_p"> A User Language Program (ULP) is a text file with C-like syntax. It enables you to write programs that can do things like export an image of your board or export a Bill of Material. You run a ULP by typing “RUN my_program.ulp”. </div> <div class="e_p"> A Script is a text file with a series of Eagle commands. You run a script by typing “SCRIPT my_script.scr”.With ULPs and Scripts, you can do some powerful stuff! </div> </div>
3
comment
All comments
4856
0
3
Rules about cashback: 1. Valid time: ALLPCB cashback activity will end on April 1st. 2. Capped amount: The capped amount of cashback for each account is $5,000. Each order can get a maximum of $2,000 cashback. That means every author can get $5,000 max. 3. Cashback range: The cashback activity only covers the corresponding PCB order. The order amount for other combined payment products will be invalid. 4. Clicking your own promotional link will be invalid. The same email address, shipping address, contact information, and phone number are all recognized as the same account. 5. ALLPCB has the final interpretation right of the cashback activity.
ALLPCB will donate 2% to the author for this promotion link.