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
    About the element14 Community
  • 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) Command Line Polygon
  • 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 14 replies
  • Subscribers 179 subscribers
  • Views 2355 views
  • Users 0 members are here
Related

Command Line Polygon

autodeskguest
autodeskguest over 9 years ago

Hi all,

 

Is there a document somewhere that explains the command line options for

polygon?  Polygon has from, to, angle, width, layer, pour, name, etc.  How

can I do this from a command line?

 

Thanks,

 

Dave

--

Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

 

  • Sign in to reply
  • Cancel

Top Replies

  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest +1
    Dave Wills schrieb: Paul Romanyszyn wrote on Wed, 14 September 2016 16:19 I would make a simple board with just a polygon, export as script then look at the contents. First thought was good idea. But you…
  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest +1
    Dave Wills wrote: Actually, the help menu doesn't. it does, at least for me 8-) I'd like to add a polygon in a script file where I do several post-route operations. The help menu doesn't help me figure…
Parents
  • autodeskguest
    autodeskguest over 9 years ago

    Actually, the help menu doesn't.

     

    I'd like to add a polygon in a script file where I do several post-route

    operations.  The help menu doesn't help me figure out out to set the

    dimensions and location of the polygon, or how to set the remaining values

    I mentioned in my original post.

     

    i.e., if I can type it in on the command line, that same command would work

    in the script file.

     

    I can create a polygon using the graphics capabilities, but that's not what

    I'm looking for.

     

    Dave

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

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

    On 09/14/2016 07:14 PM, Dave Wills wrote:

    Actually, the help menu doesn't.

     

    I'd like to add a polygon in a script file where I do several post-route

    operations.  The help menu doesn't help me figure out out to set the

    dimensions and location of the polygon, or how to set the remaining values

    I mentioned in my original post.

     

    i.e., if I can type it in on the command line, that same command would work

    in the script file.

     

    I can create a polygon using the graphics capabilities, but that's not what

    I'm looking for.

     

    Dave

     

    I would make a simple board with just a polygon, export as script then

    look at the contents.

    Paul

     

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

    On 09/14/2016 07:14 PM, Dave Wills wrote:

    Actually, the help menu doesn't.

     

    I'd like to add a polygon in a script file where I do several post-route

    operations.  The help menu doesn't help me figure out out to set the

    dimensions and location of the polygon, or how to set the remaining values

    I mentioned in my original post.

     

    i.e., if I can type it in on the command line, that same command would work

    in the script file.

     

    I can create a polygon using the graphics capabilities, but that's not what

    I'm looking for.

     

    Dave

     

    I would make a simple board with just a polygon, export as script then

    look at the contents.

    Paul

     

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

    Paul Romanyszyn wrote on Wed, 14 September 2016 16:19

    On 09/14/2016 07:14 PM, Dave Wills wrote:

    Actually, the help menu doesn't.

     

    I'd like to add a polygon in a script file where I do several

    post-route

    operations.  The help menu doesn't help me figure out out to set

    the

    dimensions and location of the polygon, or how to set the

    remaining values

    I mentioned in my original post.

     

    i.e., if I can type it in on the command line, that same command

    would work

    in the script file.

     

    I can create a polygon using the graphics capabilities, but that's

    not what

    I'm looking for.

     

    Dave

     

    I would make a simple board with just a polygon, export as script then

     

    look at the contents.

    Paul

     

     

    Thanks Paul.

     

    First thought was good idea.  But you can only export scripts from the

    library not the board.  Maybe I can't do this with a script.

     

    I did export a library script, but still digging through to see if it's

    possible to use elsewhere.

     

    Thanks,

     

    Dave

     

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

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

    Dave Wills schrieb:

     

    Paul Romanyszyn wrote on Wed, 14 September 2016 16:19

     

    I would make a simple board with just a polygon, export as script then

    look at the contents.

     

    First thought was good idea.  But you can only export scripts from the

    library not the board.  Maybe I can't do this with a script.

     

    There is an ULP that exports a board as a script.

     

    However, it's no problem to just generate a script manually. First, set

    up the required parameters with the LAYER and CHANGE commands, then use

    the POLYGON command to draw the polygon:

     

    LAYER TOP;   (CHANGE LAYER would also work)

    CHANGE THERMALS on/off;

    CHANGE ORPHANS on/off;

    CHANGE ISOLATE xxx;

    CHANGE POUR solid/hatched;

    CHANGE RANK xxx;

    CHANGE SPACING xxx;

    POLYGON width 'name' (x y) (x y) (x y) (x y) ... (x y);

     

    If you don't draw only straight orthogonal lines, you might also use

    SET WIRE_BEND xxx;

    MITER xxx;

    before applying the POLYGON command.

     

    And yes, all that can be taken from the HELP POLYGON information (that

    also links to the CHANGE command, where the parameters for modifying

    polygons are clearly listed, and to SET and MITER).

     

    Tilmann

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest

    Tilmann Reh wrote on Wed, 14 September 2016 23:02

    Dave Wills schrieb:

     

    Paul Romanyszyn wrote on Wed, 14 September 2016 16:19

    I would make a simple board with just a polygon, export as script

    then

    look at the contents.

     

    First thought was good idea.  But you can only export scripts from

    the

    library not the board.  Maybe I can't do this with a script.

     

    There is an ULP that exports a board as a script.

     

    However, it's no problem to just generate a script manually. First,

    set

    up the required parameters with the LAYER and CHANGE commands, then

    use

    the POLYGON command to draw the polygon:

     

    LAYER TOP;   (CHANGE LAYER would also work)

    CHANGE THERMALS on/off;

    CHANGE ORPHANS on/off;

    CHANGE ISOLATE xxx;

    CHANGE POUR solid/hatched;

    CHANGE RANK xxx;

    CHANGE SPACING xxx;

    POLYGON width 'name' (x y) (x y) (x y) (x y) ... (x y);

     

    If you don't draw only straight orthogonal lines, you might also use

    SET WIRE_BEND xxx;

    MITER xxx;

    before applying the POLYGON command.

     

    And yes, all that can be taken from the HELP POLYGON information (that

    also links to the CHANGE command, where the parameters for modifying

    polygons are clearly listed, and to SET and MITER).

     

    Tilmann

     

     

    Thanks Tilmann.  I did get partly through figuring this out last night, but

    then gave up.  Now that you've given me specifics, I will try again.

     

    Dave

     

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

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

    Tilmann Reh wrote on Wed, 14 September 2016 23:02

    Dave Wills schrieb:

     

    Paul Romanyszyn wrote on Wed, 14 September 2016 16:19

    I would make a simple board with just a polygon, export as script

    then

    look at the contents.

     

    First thought was good idea.  But you can only export scripts from

    the

    library not the board.  Maybe I can't do this with a script.

     

    There is an ULP that exports a board as a script.

     

    However, it's no problem to just generate a script manually. First,

    set

    up the required parameters with the LAYER and CHANGE commands, then

    use

    the POLYGON command to draw the polygon:

     

    LAYER TOP;   (CHANGE LAYER would also work)

    CHANGE THERMALS on/off;

    CHANGE ORPHANS on/off;

    CHANGE ISOLATE xxx;

    CHANGE POUR solid/hatched;

    CHANGE RANK xxx;

    CHANGE SPACING xxx;

    POLYGON width 'name' (x y) (x y) (x y) (x y) ... (x y);

     

    If you don't draw only straight orthogonal lines, you might also use

    SET WIRE_BEND xxx;

    MITER xxx;

    before applying the POLYGON command.

     

    And yes, all that can be taken from the HELP POLYGON information (that

    also links to the CHANGE command, where the parameters for modifying

    polygons are clearly listed, and to SET and MITER).

     

    Tilmann

     

     

    Thanks Tilmann.  I did get partly through figuring this out last night, but

    then gave up.  Now that you've given me specifics, I will try again.

     

    Dave

     

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • 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