Page 228 - Make Your Own PCBs with EAGLE from Schematic Designs to Finished Boards
P. 228

FIGURE 10-3   Creating the dimensions for a Eurocard.




  Writing a Script



  If you have a section of design that you find yourself repeating often, then you could make yourself a
  script that adds all the parts and connects them up. For example, it is pretty common to use a 7805
  voltage regulator and its accompanying capacitors in a circuit. You can write a script that will add
  the necessary components and then connect them up. This, of course, will take place in the Schematic
  Editor.

      Probably the simplest way to do this is to enter the commands one at a time into the command line
  and then transfer them a line at a time into a Text Editor. Periodically, you can save the script file,
  delete everything off the schematic, and then continue adding commands until it does what you want.

      To create a new script, select the option “New Script” from the File menu in the Control Panel, as
  shown in Figure 10-4.
   223   224   225   226   227   228   229   230   231   232   233