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 79 subscribers
  • Views 1379 views
  • Users 0 members are here
Related

Import SVG help !!!!!

Ritchie75
Ritchie75 over 5 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 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • autodeskguest
    autodeskguest over 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 5 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
    • Up 0 Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 5 years ago in reply to Ritchie75

    Hi Ritchie,

     

    I just tried it and it worked fine with the SVG file I started with. The resulting DXF imported into layer 50 of my layout without issue. Maybe it's a scaling thing and it's there but scaled incorrectly?

     

    Best Regards,

     

    Rachael

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

    Really ???? I AM STUPID !! my friend..

     

    Layer 50 ? me 21 I will try with the same layer and I let you know.

     

     

     

    Ritchie

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

    Ritchie Mettens wrote:

     

    Really ???? I AM STUPID !! my friend..

     

    Layer 50 ? me 21 I will try with the same layer and I let you know.

     

     

     

    Ritchie

    Layer 21 works for me too. Just to make sure we are both doing the import in the same way here is how I did the import.

     

    In the board editor I do:

     

    File -> Import -> DXF....

     

    Select my .dxf file and choose my target layer then click ok.

     

    You then get another window with the generated script for creating the actual image in the selected layer. This has two options, Run or Cancel. Choose Run and the image should then appear.

     

    Are you getting the script window pop up with the option to run the script?

     

    Best Regards,

     

    Rachael

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

    I must to be cursed !!!

     

    I did EXACTLY the same thing !!!! I have the script window pop up with the option "run the script" but the pict don't appear !!!! I don't have any error message.

     

     

    I DON'T UNDERSTAND !!!!!!

     

    I will do another tests and I let you now my friend

     

    Thanks for you patience but it seems I must to be STUPID !!!

     

    Ritchie

    Attachments:
    You don't have permission to edit metadata of this video.
    Edit media
    x
    Upload Preview
    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 5 years ago in reply to Ritchie75

    If you want take a look here a screening of my process.

     

    Tanks

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

    So you've not taken your SVG file and converted it to DXF using the web converter I linked to?

     

    The import process in your video seems to take a very long time and if you look at the script it generates there is nothing of note in it which explains why it draws nothing. I think the DXF output from Adobe illustrator must be generating something that the importer in EAGLE doesn't like.

     

    So I searched google for SVG files of varying complexity to test this out, I found a simple one of some gears first, then some more intricate patterns and finally I found an SVG called "Awesome Tiger" all of which I exported to DXF using the website I linked and then imported into EAGLE. They all worked. The last one took a LONG time to draw but I now have a test board with a line drawing of an awesome tiger!

     

    It seems that the process I described above, using the tools I suggested, does actually work. I think if you take your SVG file and convert it to DXF in the same way I did then you might find it works.

     

    Best Regards,

     

    Rachael

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

    So you've not taken your SVG file and converted it to DXF using the web converter I linked to?

     

    The import process in your video seems to take a very long time and if you look at the script it generates there is nothing of note in it which explains why it draws nothing. I think the DXF output from Adobe illustrator must be generating something that the importer in EAGLE doesn't like.

     

    So I searched google for SVG files of varying complexity to test this out, I found a simple one of some gears first, then some more intricate patterns and finally I found an SVG called "Awesome Tiger" all of which I exported to DXF using the website I linked and then imported into EAGLE. They all worked. The last one took a LONG time to draw but I now have a test board with a line drawing of an awesome tiger!

     

    It seems that the process I described above, using the tools I suggested, does actually work. I think if you take your SVG file and convert it to DXF in the same way I did then you might find it works.

     

    Best Regards,

     

    Rachael

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

    Ok my friend I will do that.

     

    Have you got a MSN or ICQ it will more simple isn't it ?

     

    Thanks again for your precious help but I thing I don't have any chance at this time.

     

    Ritchie

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

    Hi Ritchie,

     

    Unfortunately I don't have MSN or ICQ here I'm afraid sorry.

     

    I've not seen your actual SVG file but I can't think why it wouldn't work with the process I have described based on my tests with arbitrarily complicated SVG files. If I can import an awesome tiger as a line drawing into a test board I am sure your logo will import ok as it's likely to be way less complicated than that.

     

    Best Regards,

     

    Rachael

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

    Ok don't worry I can understand...

     

    Do you can send me your pict for to be sure that's the same pict ?

     

    Thanks my friend

     

    Ritchie

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

    That's this pict ?

     

     

    If yes I tested with the same parameters from you AND THE PICT DOES NOT APPEAR !!!!!! (:(:(:(:(:(:(:(:

     

    Ritchie

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

    Hi Ritchie,

     

    Yes that's the picture and it works fine for me, although it must be noted once converted to DXF it's just a line drawing not a full colour tiger. It also takes an age to draw. When you import the DXF does it take a long time importing? What does the script in the run script window look like?

     

    Best Regards,


    Rachael

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • rachaelp
    rachaelp over 5 years ago in reply to rachaelp

    Also, I notice you are using EAGLE 7.4.0 on OSX. I'm using 7.6.0 on OSX just in case that is anything to do with it.

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

    No this is 7.6 !!

     

    It's a big band at my home

    Attachments:
    You don't have permission to edit metadata of this video.
    Edit media
    x
    Upload Preview
    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Ritchie75
    Ritchie75 over 5 years ago in reply to Ritchie75

    May be this my Illustrator export !!

     

    Do you can send your .dxf export ? I am sur it works with you.

     

    Thanks my friend and sorry for waste your time

     

     

    Ritchie

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

    Right ok, in your first post you had said 7.4.0.

     

    However, I notice you've used Ghostscript to convert your SVG file to DXF? That is NOT what I did. Use the online converter I linked and it will work.

     

    Best Regards,


    Rachael

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

    Ritchie Mettens wrote:

     

    May be this my Illustrator export !!

    Yes I'm pretty sure that's EXACTLY what it is! I told you many messages ago to try the online SVG to DXF converter I linked to!

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Element14

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