element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Chat (English) EAGLE ulp generates wrong scale -- how to fix?
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Autodesk EAGLE requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 117 subscribers
  • Views 393 views
  • Users 0 members are here
  • eagle
  • ulp
  • pcb
  • cnc
  • diy
  • mill
Related

EAGLE ulp generates wrong scale -- how to fix?

Former Member
Former Member over 11 years ago

I'm trying to do isolation milling circuit board prototyping using Eagle lite version 6.0.0. This is the first version of Eagle I've used, so I'm a newbie!

To generate the mill control file, I'm using a script called fablab-mill-n-drill.ulp from here: http://fablab.marcboon.com/pcb/step2.html

Actual script: http://fablab.marcboon.com/pcb/fablab-mill-n-drill.ulp

 

Unfortunately, when I run this script, it generates the outlines in a very small scale in the lower-left corner of the board. I'm using the "singlesided" PCB from examples.

Image attached. The purple thing in the lower left is the generated traces; zoom image also included.

 

So, my guess is that the way scale in generating outlines works has changed between when this script was created in 2008, and version 6 in 2011.

I'm a software developer by trade, but have never used Eagle or the ULP language before. If I know how to properly compensate for scale, I could probably hack it into the program. But where do I look to figure out what the right scale should be, or how otherwise to fix this script?

 

Any suggestions or pointers more specific than "it's somewhere in the manual" would beappreciated!

Attachments:
image
image
  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I'm having the exact same problem, using the latest version of Eagle. I just signed up here so I could subscribe to this. No idea how to fix it.

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

    Am 07.01.2012 03:49, schrieb Marcus Dobeck:

    I'm having the exact same problem, using the latest version of Eagle. I just signed up here so I could subscribe to this. No idea how to fix it.

     

    Maybe it helps to read the "update_eng" in the doc directory of your

    eagle installation and search for  "Increased internal resolution:" .

    I don't know if this change in the internal resolution affects your problem.

     

    --

    Mit freundlichen Grüßen / With best regards

     

    Joern Paschedag

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kataze
    0 kataze over 9 years ago

    I know I'm like a year late here, but just in case another lab has the same problem and comes across this thread like I did:

     

    Change line 196 in fablab-mill-n-drill.ulp to read:

     

        eta         = 0.000003125,         // Eagle resolution in mm

     

     

    this will allow the script to cope with the change in internal resolution.

    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube