Skip to content

agwn/Eagle-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Eagle-Scripts

Collection of Eagle Scripts and Configs

Script: Export Module Footprint

Procedure

  1. Get eagle files for module
    1. Scripts don't seem to run out side of projects. If there is not an eagle.epf file in the directory you will need to create one to "turn it into a project" (empty is ok)
  2. Add attributes to the components to indicate which ones should be included in the footprint
    1. add the attribute 'EXP2MODFP' to all headers that should be "exported to the module footprint"
    2. add the attribute 'EXP2MODMECMNT' to all mechanical mounting points to exported
  3. Run the script 'run exp-module-fp.ulp' from the open project to create a module\_fp.scr. This script contains all of the eagle commands to generate the exported module footprint in another eagle context.
  4. Import the footprint into a library
    1. open a library to import the module footprint into
    2. create a new footprint for the module
    3. source the exported script 'scr module\_fp' or just 'scr' and search for it
    4. cleanup the import to remove things like random text on layers
  5. If needed create a symbol with the same (or less) pins than were exported for the footprint
  6. Create (modify) the library device to include the new footprint
    1. open an existing device or create a new device and the symbol for the module
    2. add the footprint to the device, connect the pins and save the library
  7. Use the new module as a device in a new pcb! :)

About

Collection of Eagle Scripts and Configs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •