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) How to generate RS-274X G36/G37 outline fills?
  • 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
  • State Not Answered
  • Replies 9 replies
  • Subscribers 180 subscribers
  • Views 1499 views
  • Users 0 members are here
Related

How to generate RS-274X G36/G37 outline fills?

Former Member
Former Member over 13 years ago

I would like to draw a complex vector logo on the silkscreen of my boards. I would like it to be output as an RS-274X Outline Fill, with the commands G36 and G37.

 

I've tried drawing the logo (through a script) using the Polygon command on the tPlace layer. But when exporting the silkscreen with a custom CAM job using the GERBER_RS274X device, it seems that the polygon is stroke filled.

 

I may have missed something. Is there a polygon property, a CAM job option, or any other way to have my complex polygon exported as a proper G36/G37 Outline Fill?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 13 years ago

    >I would like to draw a complex vector logo on the silkscreen of my boards.

    >I would like it to be output as an RS-274X Outline Fill, with the commands

    >G36 and G37.

    >I've tried drawing the logo (through a script) using the Polygon command on

    >the tPlace layer. But when exporting the silkscreen with a custom CAM job

    >using the GERBER_RS274X device, it seems that the polygon is stroke filled.

    >I may have missed something. Is there a polygon property, a CAM job option,

    >or any other way to have my complex polygon exported as a proper G36/G37

    >Outline Fill?

     

    Afaik, Eagle does not support this. Eagle fills all its polygon with wire

    with width set in the polygon attributes before exporting to gerber. This is

    a drawback when working with huge complex boards, as it slows down eagle a

    bit.

    I once made my own gerber export to get smd's to be flashed instead of being

    drawn, and I tried to use the gerber fill for polygons, but my gerber

    knowledge was and is rather limited, so I could not resolve how to make gaps

    (negative fill) in the polygons. Let me know if you know how to do that.

     

    It would be nice if a future version could do this for example when polygon

    width is set to 0. It would make screen drawing faster too.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    I once made my own gerber export to get smd's to be flashed instead of being

    drawn, and I tried to use the gerber fill for polygons, but my gerber

    knowledge was and is rather limited, so I could not resolve how to make gaps

    (negative fill) in the polygons. Let me know if you know how to do that.

    How did you write such an exporter? Can you add your own CAM drivers to EAGLE?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Jérôme Vuarand <noreply-119775@element14.com> wrote:

    I once made my own

    > gerber export to get smd's to be flashed instead of being

    > drawn, and I tried to use the gerber fill for polygons, but my gerber

    > knowledge was and is rather limited, so I could not resolve how to make gaps

    > (negative fill) in the polygons. Let me know if you know how to do that.

    How did you write such an exporter? Can you add your own CAM drivers to EAGLE?

     

    Its done with an ULP, not the cam. An ULP have direct access to most

    parameters. I did this because the manufacturer of a HDI board wanted all

    pads to be flashed. I guess it enables better HDI-DRC.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Guest wrote:

     

    Jérôme Vuarand <noreply-119775@element14.com> wrote:

    How did you write such an exporter? Can you add your own CAM drivers to EAGLE?

     

    Its done with an ULP, not the cam. An ULP have direct access to most

    parameters. I did this because the manufacturer of a HDI board wanted all

    pads to be flashed. I guess it enables better HDI-DRC.

    Can you share that script? I'm very interested by such a tool, but it seems to represent a lot of work so I'd rather not start from scratch.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    >Can you share that script? I'm very interested by such a tool, but it seems

    >to represent a lot of work so I'd rather not start from scratch.

     

    I attach it here.. I do not take any responsibility if it fails with your

    design.

     

    IMPORTANT:Run RATSNEST before running it! Orelse the polygon fills won't

    show up.

     

    Doc is undone, but the general usage is:

    run gerber-RS274x -L];

     

    Options can be any order.

     

    For output filename you may use  %N in the string to be replaced with

    boardname.

     

    fillmode:

    e for eagle fill (default)

    f for flash gerber fill (only works on polygons with no negative contours or

    arcs or width!=0, in other words not many. NOT TESTED AT ALL!)

     

    The gerber output will also contain some gerber comments.

     

    Also, this is not tested on Ealge 6.

     

    Feel free to clean it up and improve.

     

    Example:

    Here I add my patch layer 53 to top and output as myboard_L1.gbr

    run gerber-RS274x -L1,53 -o%N_L1.gbr -dTopLayer;

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    I can't see a link to the file (I'm using the element14.com forums to see this conversation). Did you forget to attach it or did it get lost somehow?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    >I can't see a link to the file (I'm using the element14.com forums to see

    >this conversation). Did you forget to attach it or did it get lost somehow?

     

    This is another element14 problem. The attachment is visible from direct

    nntp access or Eaglecentral here:

    http://www.eaglecentral.ca/forums/index.php?t=msg&th=47080

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    I just wanted to chime in here. Polygon support in the CAM jobs (aka G36 + G37 gerber commands) would be VERY nice. I don't believe it is very hard to impliment either. Eagle can still KEEP the "width" property... all they have to do is draw the outline as a stroke with width (which is currently already done), followed by the G36 + G37 commands of the EXACT SAME co-ordinates! We tried manually editing our gerbers and this works amazingly. Also, the board houses are much happier when solid fills are done properly.

     

    +++++1 for this feature. I swear, it is easy to add!

     

    Crossing fingers...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    B Mac <noreply-127215@element14.com> wrote:

    I just wanted to chime in here. Polygon support in the CAM jobs (aka G36

    + G37 gerber commands) would be VERY nice. I don't believe it is very

    hard to impliment either. Eagle can still KEEP the "width" property...

    all they have to do is draw the outline as a stroke with width (which is

    currently already done), followed by the G36 + G37 commands of the EXACT

    SAME co-ordinates! We tried manually editing our gerbers and this works

    amazingly. Also, the board houses are much happier when solid fills are done properly.

     

    +++++1 for this feature. I swear, it is easy to add!

     

    Crossing fingers...

     

    As I mentioned, since I dont know gerber very well, I could not find out

    how to handle clear areas inside the fill. If anyone knows, please let me

    know.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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