Importing SVG into Eagle CAD for PCB silkscreens

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 40

  • @magnetscience
    @magnetscience 2 ปีที่แล้ว

    Wow, that is the easiest way to create custom silkscreens that I have found yet. I am bookmarking the url with your script! Thanks

  • @Anticitizen666
    @Anticitizen666 5 ปีที่แล้ว

    So glad I found your convertor! Thanks a ton for your work, man!

  • @outgoingbot
    @outgoingbot 6 ปีที่แล้ว +1

    Is there a way to do a board outline on the Dimension layer using an image? The issue is that the script uses polygons with fill and wont draw a path without fill. I normally draw board outlines using the Line tool not the Polygon Tool. (Which i believe thials script is using).

    • @Espruino
      @Espruino  6 ปีที่แล้ว +1

      If you supply polygons with a stroke but no fill then they should be treated as lines, and should be ok for the dimension layer. But make sure it really is no fill at all (eg 'unset') rather than 0% opacity or completely white.

    • @murphydigital
      @murphydigital 5 ปีที่แล้ว

      @@Espruino ,I've been struggling with the Dimension layer too. Thanks for the tip! (and thanks for this whole project; so many beautiful boards owe a lot to you!)

  • @ATMakersOrg
    @ATMakersOrg 6 ปีที่แล้ว

    I found this worked well with two tweaks (just to the instructions). First, I needed to ungroup all the paths. Not sure if it should have handled groups, but removing the groups (which were created by converting text to paths) fixed my first problem. My second was that the Eagle command box would choke after too many commands. I found that taking your generated script, saving it as a .scr file in the Eagle Scripts file and then running it worked perfectly. Thanks!

    • @Espruino
      @Espruino  6 ปีที่แล้ว

      Thanks! I'll add that to the instructions :)

  • @1776Effects
    @1776Effects 7 ปีที่แล้ว

    This works great except I'm having an issue getting the negative space not to fill on the text even after object to path. I've tried using break apart after as well with no success.

    • @Espruino
      @Espruino  7 ปีที่แล้ว

      Please could you post an issue to github.com/gfwilliams/svgtoeagle with an example file?

  • @bux77
    @bux77 6 ปีที่แล้ว

    This is awesome, the bitmap raster type type import sucks and having to manually handle holes in polygons sucks as well. Great job!

  • @E3Electronics
    @E3Electronics 6 ปีที่แล้ว

    Hi, I Try with Adobe Illustrator, save to SVG, but no working. I have the document in mm. The error is:
    SVG width not in mm - GUESSING dimensions based on scale factor
    Try setting document size in mm in Inkscape's Document Properties
    Dimensions 82.65mm x 75.29mm
    No paths with fills or strokes found.

    • @Espruino
      @Espruino  6 ปีที่แล้ว

      Maybe try setting a fill or stroke on some of the paths you have? Failing that, does it work if you load in Inkscape and then save?

  • @AlbertPhan
    @AlbertPhan 4 ปีที่แล้ว +1

    In case anyone has a problem with the Open source hardware logo letter w not showing up: For some reason the 'w' was not converted to a path. Just select it and hit Path-> object to path. I got the logo from the official place at www.oshwa.org/open-source-hardware-logo/

  • @sonic2wb
    @sonic2wb 6 ปีที่แล้ว

    Thank You for this best howto i have seen on this

  • @korb.artificial383
    @korb.artificial383 5 ปีที่แล้ว

    Is the Tool still working? It does not create an output

    • @Espruino
      @Espruino  4 ปีที่แล้ว

      Yes, it should be fine. Maybe try another SVG just in case. Also maybe try Google Chrome - if you're on an older IE of maybe Safari it might not work.

  • @zekerich1566
    @zekerich1566 6 ปีที่แล้ว

    Every Time I paste the svg code in the Eagle command line it gets cut off, i seem to be reaching a character limit. Doesnt work.

    • @Espruino
      @Espruino  6 ปีที่แล้ว

      Check out the text on the webpage itself:
      "Normally copy/paste works fine, however for complex SVGs the
      commands become too big to paste into Eagle's command box.
      You'll need to copy the contents of the Textarea into a '.scr'
      file and then execute that in Eagle CAD."

  • @Hugu5594
    @Hugu5594 7 ปีที่แล้ว

    on the svg converter tool, the scale factor is whit 90, the image/logo it will be reduced, so we have to change to 100 or 1 value to get the same logo size that was already changed at inkscape to the desirable scale, right?
    And the svg converter tool dont works for me..
    p.s.: finally get the data (after long advertising messages get from the browser), but the image at the eaglecad is not on the same scale, it appears in a very small size...and looks that the code generated is truncated on the eagle box..

    • @Espruino
      @Espruino  7 ปีที่แล้ว

      If you're getting the wrong size then yes, you'll need to change the scale factor - although 90 does usually seem to be the default. Sadly it seems that SVG doesn't have an easy way to get a 'DPI' value since the default units are in pixels. If someone figures it out maybe they could give me a PR to help improve the code.

    • @Espruino
      @Espruino  7 ปีที่แล้ว

      I've now tweaked this so as long as you set your Document Size in millimeters in Inkscape it should work

  • @daliborlacina350
    @daliborlacina350 6 ปีที่แล้ว

    Hi there, bloody good app! But i have problems when scaling up, like from 75mm to 200mm in Ink, i get error in Eagle in half image. smaller the image, later the error, small image no error. Can you help please?

    • @Espruino
      @Espruino  6 ปีที่แล้ว

      What is the error? Is it possible that the image created is so complex that it creates too much code to paste into Eagle CAD? If so you could copy & paste it into a script file an execute that?

    • @daliborlacina350
      @daliborlacina350 6 ปีที่แล้ว

      yes, thats it, too much code, its not all there. its possible to bypass this error somehow? import whole code? but image isnt comlex in shapes, very similar to complexicity like in video.
      SOLVED: save code as script file in eagle and run script

  • @davepegado2920
    @davepegado2920 5 ปีที่แล้ว

    hi, I know this vid is old, but I'm having trouble getting your converter to work. I'm new to inkscape, but when I break apart the layers in my svg it causes your program to draw the cutout as a separate polygon on top of the object. That results in it not getting cut out in eagle. What am I doing wrong? Many thanks

    • @Espruino
      @Espruino  5 ปีที่แล้ว

      Hi - you need to ensure that the area you want filled (including the cutout) is a single polygon. Select the outline and the holes and choose Path->Combine. When you bring it into svgtoeagle it should then be fine

    • @davepegado2920
      @davepegado2920 5 ปีที่แล้ว

      @@Espruino thanks, it worked like a charm! The only issue now is the rendering left the cutouts a bit small, so the text looks awkward. I can always just edit the svg before using the tool, or is there a way to easily change the border of the polygons it renders?

    • @gfwilliams
      @gfwilliams 5 ปีที่แล้ว

      @@davepegado2920 There's no setting on the site - it defaults to 0.1mm wire size, but if you search for `polygon GND 0.1mm` and replace the number with something else in the script before you run it then you should be fine

  • @narra1234567890
    @narra1234567890 3 ปีที่แล้ว

    Hello, this is great! I was wondering if there was any chance for creating and offline tool (I'm worried that this website may disappear one day!)

    • @gfwilliams
      @gfwilliams 3 ปีที่แล้ว +1

      Just go to github.com/gfwilliams/svgtoeagle and download the files. It doesn't use anything online so you can host it locally (or can even just load the HTML file up)

    • @narra1234567890
      @narra1234567890 3 ปีที่แล้ว

      @@gfwilliams Great, thanks for your help!

  • @stephblackcat
    @stephblackcat 6 ปีที่แล้ว

    Hi, does this script still work? I am trying to add my makers mark to my PCB which I have as a very simple SVG. I followed your guide and nothing seems to happen when i run the script even as an *.scr.

    • @gfwilliams
      @gfwilliams 6 ปีที่แล้ว

      It still does, yes - are you sure you have the layers you're putting stuff on visible?

    • @stephblackcat
      @stephblackcat 6 ปีที่แล้ว

      @@gfwilliams my text is on tPlace which seems to be the default of the script. and I can see it.

    • @stephblackcat
      @stephblackcat 6 ปีที่แล้ว

      I wonder if the issue could be that it's just an open stroke. I may hafta see about making it a filled solid.

    • @stephblackcat
      @stephblackcat 6 ปีที่แล้ว

      Ok, switched to a filld solid, oddly it drew the outline and not the fill and it's kinda spotty but it worked so. :P Ignore the spotty and fill thing. I had moved it to Top to see if that was the problem and it couldn't do the copper right i guess. Putting it back on tPlace and it looks great. Thank you so much @Gordon Williams

  • @AlexBolm
    @AlexBolm 6 ปีที่แล้ว

    Big THX!

  • @brenthiggins8995
    @brenthiggins8995 6 ปีที่แล้ว

    tanks m8

  • @incues
    @incues 7 ปีที่แล้ว

    Thank you, should donate you some money