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 Support (English) Have a question about CadSoft EAGLE?  Ask our Expert, Jorge!
  • 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 126 replies
  • Subscribers 191 subscribers
  • Views 7916 views
  • Users 0 members are here
  • our
  • have
  • expert
  • eagle?
  • jorge!
  • ask
  • a
  • cadsoft
  • about
  • question
Related

Have a question about CadSoft EAGLE?  Ask our Expert, Jorge!

Jorge_Garcia
Jorge_Garcia over 12 years ago

If you have questions about CadSoft EAGLE, please click here to post your question!


If you'd rather browse other member's questions you can read the CadSoft EAGLE Forums for past questions and answers. Enjoy!

 

richardhammerl.png

 

Jorge Garcia

I'm a young engineer with extensive experience working on EAGLE. My interests include Power Supply design and LED solid state lighting, and I'm always impressed by a well designed PCB.

 

 

If not already, you'll need to

image or image

 


to ask your question.

Otherwise, click reply below.

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 12 years ago

    I have generated output files for fab house but all layers are mis aligned from IPC? Can you please help me to figur out the issue.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 12 years ago in reply to Former Member

    On 09/06/2013 05:45 AM, Hafiz Muhammad Mujahid wrote:

    I have generated output files for fab house but all layers are mis

    aligned from IPC? Can you please help me to figur out the issue.

     

    Refer to my post in this newsgroup on 26-Mar-2013 titled "Re: Gerber

    files and Pick and place file".

     

    This will identify the problem and show you how to fix it.

     

    HTH,

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 12 years ago in reply to dukepro

    On 9/6/2013 8:14 AM, Chuck Huber wrote:

    On 09/06/2013 05:45 AM, Hafiz Muhammad Mujahid wrote:

    I have generated output files for fab house but all layers are mis

    aligned from IPC? Can you please help me to figur out the issue.

     

    Refer to my post in this newsgroup on 26-Mar-2013 titled "Re: Gerber

    files and Pick and place file".

     

    This will identify the problem and show you how to fix it.

     

    HTH,

         - Chuck

     

     

    Thanks Chuck,

     

    Additionally, it important to make sure that in a CAM job all of the

    tabs have the pos. coords check box in the same state. It doesn't matter

    if it's checked or unchecked as long as all of the tabs have it set the

    same way.

     

    Best Regards,

    Jorge Garcia

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 12 years ago in reply to autodeskguest

    On 09/10/2013 04:55 PM, Jorge Garcia wrote:

    On 9/6/2013 8:14 AM, Chuck Huber wrote:

    On 09/06/2013 05:45 AM, Hafiz Muhammad Mujahid wrote:

    I have generated output files for fab house but all layers are mis

    aligned from IPC? Can you please help me to figur out the issue.

     

    Refer to my post in this newsgroup on 26-Mar-2013 titled "Re: Gerber

    files and Pick and place file".

     

    This will identify the problem and show you how to fix it.

     

    HTH,

         - Chuck

     

     

    Thanks Chuck,

     

    Additionally, it important to make sure that in a CAM job all of the

    tabs have the pos. coords check box in the same state. It doesn't

    matter if it's checked or unchecked as long as all of the tabs have it

    set the same way.

     

    Jorge,

     

    Wouldn't it make sense, then, to make the pos. coords. check box a

    property of the job and not each section?

     

    Maybe it's time to move away from the .ini format to an XML format for

    .cam files.  While the dev's are at it, they can break out combined

    properties, such as the Flags value, into individual boolean properties.

     

    Perhaps this is better suited for the suggest forum.

     

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    My question lays in the autorouting and/or wiring algorithm. Can you describe for me, in great detail, how the autorouting system works? Where is the file that handles this? Would you explain the major points of that as well? How does the entire EAGLE program determine the best/shortest route to lay wires? This is a question of efficiency.

     

    Thanks again!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billkru
    billkru over 12 years ago

    I'm doing a layout that has a circular array of LEDs packed tightly together in an approximately 320 degree circle.  Based on the size of the board (really small) and the number of LEDs (really large), there is a need for precision device placement.  I use a script to place the LEDs exactly where they need to be.  All the LEDs origins are centered on a circle.  I've got the syntax for device placement, radial orientation, and rotation mastered.

     

    The script works fine for placing the LEDs in their appropriate position and that hasn't presented a problem.However, there's one thing that I have not been able to discover by reading the Eagle documentation nor by experimentation.  I need to be able to orient the LED cathodes so that they are all pointing radially inward.  Is there any way to force device orientation (i.e. make certain that it's the LED cathodes and not the anodes that point radially inward) based on pad or pin name or some other attribute?

     

    I've been able to accomplish this by "pre-orienting" all the LEDs on an unrouted area of the board and then run the script.  What I mean by this is that I'll manually move all the LEDs to some arbitrary area of the board and orient them so that their cathodes all point to the right and then run the script.  The script places the LEDs exactly where they need to be with the desired cathode orientation.  If I flipped the LEDs so that the cathodes all pointed left during my "pre-orienting", the cathodes all wind up facing radially outward.  So, the device placement rules are at least consistent.  However, this is a pretty kludgy way to accomplish something I'd like to be able to do entirely via script.

     

    Is there a way to do this via script?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 12 years ago in reply to billkru

    Bill Krueger wrote:

     

    I'm doing a layout that has a circular array of LEDs packed tightly

    together in an approximately 320 degree circle.  Based on the size of

    the board (really small) and the number of LEDs (really large), there is

    a need for precision device placement.  I use a script to place the LEDs

    exactly where they need to be.  All the LEDs origins are centered on a

    circle.  I've got the syntax for device placement, radial orientation,

    and rotation mastered.

     

    you are aware of the posibility to use polar coordinates and/or

    relative coordinates (online_help/Editor_Commands/Command_Syntax)?

     

     

    The script works fine for placing the LEDs in their appropriate position

    and that hasn't presented a problem.However, there's one thing that I

    have not been able to discover by reading the Eagle documentation nor by

    experimentation.  I need to be able to orient the LED cathodes so that

    they are all pointing radially inward.  Is there any way to force device

    orientation (i.e. make certain that it's the LED cathodes and not the

    anodes that point radially inward) based on pad or pin name or some

    other attribute?

     

    I've been able to accomplish this by "pre-orienting" all the LEDs on an

    unrouted area of the board and then run the script.  What I mean by this

    is that I'll manually move all the LEDs to some arbitrary area of the

    board and orient them so that their cathodes all point to the right and

    then run the script.  The script places the LEDs exactly where they need

    to be with the desired cathode orientation.  If I flipped the LEDs so

    that the cathodes all pointed left during my "pre-orienting", the

    cathodes all wind up facing radially outward.  So, the device placement

    rules are at least consistent.  However, this is a pretty kludgy way to

    accomplish something I'd like to be able to do entirely via script.

     

    rotating parts can be accomplished using the rotate command.

     

         mark (center_x center_y)

         move part_name (P radius angle)

         rotate angle part_name

     

    (see online_help/Editor_Commands/Command_Syntax, ../mark, ../move,

    ../rotate, ../add )

    --

     

    Lorenz

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billkru
    billkru over 12 years ago in reply to autodeskguest


    Thanks, I am aware of the various co-ordinate system options in eagle and I am using polar co-ordinates. My script already does exactly what you describe.  Using polar co-ordinates, the script moves the device and places the LEDs on a circle or radius r and angle theta  ..., and rotates the device.  That part works just fine.

     

    However, this doesn't answer the question I'm asking. Let's assume that pin 1 of the LED package I want to place is the cathode & pin 2 is the anode.  What I also need to guarantee is that pin 1, the cathode, points radially inward once the device is already placed and rotated correctly.

     

    As I mentioned, I can pre-orient all the LEDs in an unused area by pointing all the cathodes in one direction and then run the script.  Eagle is consistent in the way it places the LEDs on the board once that's done.  However, if I don't orient all the LEDs cathode orientation consistently before running the script, Eagle will orient some of the LEDs with cathodes pointing inward and some with cathodes point outward depending on the cathode orientation before I ran the script.  So I do have away around this issue, but I was hoping for something that didn't require manual tweaking before running the script.

     

    What I'm asking is there a way to guarantee the cathode/anode orientation using a script command?  I wasn't able to find anything in the documentation that describes how that might be done via a script.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 12 years ago in reply to billkru

    Bill Krueger wrote:

    Thanks, I am aware of the various co-ordinate system options in eagle

    and I am using polar co-ordinates. My script already does exactly what

    you describe.  Using polar co-ordinates, the script moves the device and

    places the LEDs on a circle or radius r and angle theta  ..., and

    rotates the device.  That part works just fine.

     

    However, this doesn't answer the question I'm asking. Let's assume that

    pin 1 of the LED package I want to place is the cathode & pin 2 is the

    anode.  What I also need to guarantee is that pin 1, the cathode,

    points radially inward +once the device is already placed and rotated

    correctly+.

     

    As I mentioned, I can pre-orient all the LEDs in an unused area by

    pointing all the cathodes in one direction and then run the script. 

    Eagle is consistent in the way it places the LEDs on the board once

    that's done.  However, if I don't orient all the LEDs cathode

    orientation consistently before running the script, Eagle will orient

    some of the LEDs with cathodes pointing inward and some with cathodes

    point outward depending on the cathode orientation before I ran the

    script.  So I do have away around this issue, but I was hoping for

    something that didn't require manual tweaking before running the script.

     

    What I'm asking is there a way to guarantee the cathode/anode

    orientation using a script command?  I wasn't able to find anything in

    the documentation that describes how that might be done via a script.

     

    scripts are not able to access data from the board.

    For that you need an ULP.

    --

     

    Lorenz

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billkru
    billkru over 12 years ago in reply to autodeskguest

    Thank you Lorenz.  I'd suspected that scripting had a limit I was encountering.  Looks like I'll have to research ULP.

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

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube