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
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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 Support (English) Import SVG help !!!!!
  • Blog
  • Forums
  • 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
  • Replies 40 replies
  • Subscribers 85 subscribers
  • Views 1727 views
  • Users 0 members are here
Related

Import SVG help !!!!!

Ritchie75
Ritchie75 over 6 years ago

Hi all

 

I can't import a SVG file on EAGLE 7.4 with OS X I have this error message

"You must at least 3 point to create a polygon !!!!"

 

Any idea ?

 

Help should be great.

 

Thanks

 

 

Ritchie

--

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

 

  • Reply
  • Cancel
  • Cancel
Parents
  • rachaelp
    rachaelp over 6 years ago

    Hi Ritchie,

     

    How are you importing an SVG into EAGLE? I've looked and I have no import option for this and there are no ULP in my installation in any v7 version of EAGLE that look like they would do the job. Is this a 3rd party ULP you are using? From the error message it looks like maybe something that is just a line with a start and an end point in the SVG is being interpreted as a polygon by the imported and hence it doesn't actually have enough points to draw the polygon. Where does the SVG come from? Is it exported from a drawing tool or something?

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Hi Rachael and many thanks for your prompt reply.

     

    The ULP for SGV import is "svg2poly.ulpt" here the link enclosed :

     

    https://github.com/cmonr/Eagle-ULPs

     

    I tested this ULP because I have more prob. with OSH Park, when I upload my

    project with a logo in bmp it seems to be not recognize !!!!!! I decided to

    test with alternative SVG import but not working....I'm going to be crazy

    !!!

     

    Do you can do some tests for me please ? try to import the logo I attached

    and upload the berber fiel into a zip on OSH Park and let me know ?

     

    Here my personal mail if you want :

     

    mailto:ritchie@ritchie.fr

     

    Are you in UK ?

     

    regard and thanks by advance.

     

    Ritchie

    --

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

     

    Attachments:
    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to Ritchie75

    Ritchie wrote on Fri, 05 August 2016 05:04

    Hi Rachael and many thanks for your prompt reply.

     

    The ULP for SGV import is "svg2poly.ulpt" here the link enclosed :

     

    https://github.com/cmonr/Eagle-ULPs

     

    I tested this ULP because I have more prob. with OSH Park, when I

    upload my project with a logo in bmp it seems to be not recognize !!!!!!

    I decided to test with alternative SVG import but not working....I'm

    going to be crazy !!!

     

    Do you can do some tests for me please ? try to import the logo I

    attached and upload the berber fiel into a zip on OSH Park and let me

    know ?

     

    Here my personal mail if you want :

     

    ritchie@ritchie.fr

     

    Are you in UK ?

     

    Regard and thanks by advance.

     

    Ritchie

     

     

    --

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

     

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    Hi Ritchie,

     

    Yes I'm in the UK. Thanks for the link to the SVG importer, that could be quite useful :-)

     

    I've not used OSH park before but I can try importing your BMP into a simple board and give it a go for you and see what happens. I see they take EAGLE .brd files directly, have you tried uploading your .brd file directly rather than using zipped gerbers?

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Thanks for your help !

     

    First try to test the SVG import and let me know if it works ! and second,  if you can do a simple test with my logo (bmp) with the bmp'ULP

     

    For OSH you must use their CAM JOB here the link :

     

    OSH Park Docs ~ Eagle: CAM Jobs to Generate Gerbers

     

    You must do their GERBER JOB and zip all the GER files on the website , here the link :

     

    https://oshpark.com/

     

    Thanks for your help my friend

     

    Ritchie

     

    PS: I forgot to tell you this, test only with GERBER FILE not .brd please if you want to chat with me I think you have my budy names ?

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    Hi Ritchie,

     

    Ok it looks straight forward to generate the stuff needed for them. I just need to finish off another job and then give this a try in a short while and will get back to you.

     

    I did just notice the following:

    From the OSH Park website:

     

    Due to a change in how Eagle 7.2 generates Excellon drill files, we now provide two sets of CAM files. They are not interchangeable! We can detect and fix the issue automatically if you upload a .brd file, but uploading a zip file of gerbers generated in Eagle 7.2 or newer using the old CAM job will cause the site to give you an error.

     

    I thought I would ask if this could be your issue just in case you've got the old CAM file lying around still and selected that by mistake?

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Heard my friend take your time it's been eight days I'm on this issue !!!!!!

     

    About the the OSH CAM I will make other test for take a look but I don't think this the reason of my issue

     

    Thanks my friend and provided the favor can be returned

     

    Regards and see you soon.

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    Hi Ritchie,

     

    Sorry for the delay getting back to you, work got in the way Friday and then I had a packed schedule this weekend.

     

    Anyway, I have just tried a simple board through OSH Park with your logo imported. It seems I can create the gerbers successfully with their CAM job and upload them and all looks ok except the bitmap logo is omitted from the preview. It doesn't give any errors, it just doesn't show up. I checked the gerbers with gerbv and the logo is showing there. So then I ran the same output data through the Eurocircuits online quote and it all appears to be fine, the logo appears correctly. So I think the issue is OSH Park. I don't know if this is the same error you were seeing but the data output from EAGLE looks fine as it works elsewhere.

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Hi my friend and thanks for your reply, no prob for the delay...

     

    I have the same, not preview but the logo is  on Top silkscreen, I think too the issue os the OSH Park.

     

    Second test !! Did you test the SVG IMPORT ULP ? it seems to be easy for OSH Park...for me the ULP doesn't works

     

    Very thanks to you my friend for this tests, If I can help you for something else don't hesitate.

     

    Regards

     

     

    Ritchie

     

    PS: Have you got a MSN ICQ or other chat ? we can share our tests and works

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • autodeskguest
    autodeskguest over 6 years ago in reply to rachaelp

    On 8/7/2016 5:52 PM, rachaelp wrote:

    Hi Ritchie,

     

    Sorry for the delay getting back to you, work got in the way Friday and then I had a packed schedule this weekend.

     

    Anyway, I have just tried a simple board through OSH Park with your logo imported. It seems I can create the gerbers successfully with their CAM job and upload them and all looks ok except the bitmap logo is omitted from the preview. It doesn't give any errors, it just doesn't show up. I checked the gerbers with gerbv and the logo is showing there. So then I ran the same output data through the Eurocircuits online quote and it all appears to be fine, the logo appears correctly. So I think the issue is OSH Park. I don't know if this is the same error you were seeing but the data output from EAGLE looks fine as it works elsewhere.

     

    Best Regards,

     

    Rachael

     

    --

    To view any images and attachments in this post, visit:

    https://www.element14.com/community/message/203286

     

     

    Hi All,

     

    It might be the case that the OSHpark viewer might not be able to handle

    a high-pixel count bitmap. This was the case with gerbv a few years ago,

    I don't know if it's been corrected since.

     

    In general, for the logos you want to use the lowest resolution image

    that will give an acceptable result. The image might show up in the OSH

    park viewer if you lower it's resolution.

     

    hth,

    Jorge Garcia

     

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to autodeskguest

    Hi Jorge and thanks for your reply...

     

    Yes I think this a resolution image, I find a solution with lowest resolution but the prob. seems to be preview mode because once you click on "continue" you can see the logo.

     

    Anyway OSH suggest me to use .SVG format but the ULP don't works did you test this format ? if yes do you can feedback the me the results ?

     

    Thanks again for your help and regards

     

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
Reply
  • Ritchie75
    Ritchie75 over 6 years ago in reply to autodeskguest

    Hi Jorge and thanks for your reply...

     

    Yes I think this a resolution image, I find a solution with lowest resolution but the prob. seems to be preview mode because once you click on "continue" you can see the logo.

     

    Anyway OSH suggest me to use .SVG format but the ULP don't works did you test this format ? if yes do you can feedback the me the results ?

     

    Thanks again for your help and regards

     

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
Children
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    Hi Ritchie,

     

    I've just tried svg2poly.ulp with three different SVG files and I get different errors with each. It seems to have limited compatibility with actual SVG files which is a shame.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Hi Rachael thanks for your prompt test.

     

    Thanks for the feedback I'm not alone with this issue.

     

    See you soon my friend.

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    You're welcome Ritchie.

     

    Just for completeness, I just created a really simple SVG file with a simple polygon and nothing else and the ULP also failed to work with this too so I am interested to know what SVG files this does work with and how they are created because as far as I can tell it's not working at all.

     

    Anyway, I hope you manage to move forward with your project and get your boards done ok. Let me know if you need and further help.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • autodeskguest
    autodeskguest over 6 years ago in reply to rachaelp

    On 09.08.2016 13:57, rachaelp wrote:

    You're welcome Ritchie.

     

    Just for completeness, I just created a really simple SVG file with a simple polygon and nothing else and the ULP also failed to work with this too so I am interested to know what SVG files this does work with and how they are created because as far as I can tell it's not working at all.

     

    Anyway, I hope you manage to move forward with your project and get your boards done ok. Let me know if you need and further help.

     

    Best Regards,

     

    Rachael

     

    --

    To view any images and attachments in this post, visit:

    https://www.element14.com/community/message/203345

     

     

    FYI, the ULP contains some information about author and capabilities.

    Either read usage from control panel, or read the plain ULP text. Also,

    it creates a file "svg2poly.log" wich could give more info whats going

    wrong.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to autodeskguest

    Morten Leikvoll wrote on Tue, 09 August 2016 14:58

    FYI, the ULP contains some information about author and capabilities.

    Either read usage from control panel, or read the plain ULP text. Also,

    it creates a file "svg2poly.log" wich could give more info whats going

    wrong.

     

     

    Hi Morten,

     

    I found some more detailed info in the README.md on github. Basically it is

    designed to deal with the output from Inkscape and can only handle paths. I

    don't use Inkscape and don't actually need to use this ULP myself so I will

    leave it up to the OP to try out Inkscape and see if they can get their

    original svg file exported in a way which works with this ULP.

     

    Best Regards,

     

    Rachael

    --

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

     

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Hi all and thanks for your help.

     

    I note that the ULP works only with INSKAPE output process.

     

    What a pity...if someone have another solution let me know.

     

    Regards

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • autodeskguest
    autodeskguest over 6 years ago in reply to Ritchie75

    On 10.08.2016 10:21, Ritchie Mettens wrote:

    Hi all and thanks for your help.

     

    I note that the ULP works only with INSKAPE output process.

     

    What a pity...if someone have another solution let me know.

     

    I used bitmap import and then drew polygons manually over it to avoid

    the huge number of rectangles created by the import.

     

    Alternatively you could look at DIY milling or lasercutter sw. They can

    probably make importable milling vectors out of high dpi bitmaps to get

    a smoot result. But tbh, this sounds a bit awkward.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 6 years ago in reply to Ritchie75

    Hi Ritchie,

     

    Why don't you try converting the SVG to a DXF with something like this: https://cloudconvert.com/svg-to-dxf

     

    Then you can try to import the resulting DXF into EAGLE.

     

    As the DXF importer is supplied as part of EAGLE and integrated in the UI by CADSoft it may be a little fuller in implementation than the SVG importer you were using. I've not tried converting an SVG in this way and importing the resulting DXF so I don't know how well it will work but it might be worth a try.

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to rachaelp

    Hi my friend WHY NOT !!

    I didn't think about it !!!!

     

    I will this test today and I let you know...

     

    Thanks boy !!

     

     

    Regards

     

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 6 years ago in reply to Ritchie75

    Hi Rachael.

     

    Doesn't works nothing happens when I import !!!!!!!!!!!! the pict is not on the board, not error.

     

    I don't understand !!!

     

    Thanks.

     

    Ritchie

    • Cancel
    • Vote Up 0 Vote Down
    • 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 © 2022 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