Author Topic: PCB engraving from SVG  (Read 1813 times)

MegaBlackJoe

  • Newbie
  • *
  • Posts: 23
    • View Profile
PCB engraving from SVG
« on: September 01, 2019, 04:46:01 AM »
Hello Zax.

I would be very grateful if you could explain how can I engrave this file using T2 laser. Since there is no support of SVG, I assume it needs to be converted. I tried using inkscape, but I beleive there are some settings that I am missing.

Thanks a lot in advance.

MegaBlackJoe

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: PCB engraving from SVG
« Reply #1 on: September 01, 2019, 05:04:07 AM »
I hope you can consider adding SVG support to T2laser

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7304
    • View Profile
    • T2Laser
Re: PCB engraving from SVG
« Reply #2 on: September 01, 2019, 05:46:59 AM »
You are on the right path, Inkscape can easily convert the SVG to DXF.

Is the problem that you are expecting it to be filled like a raster image?

If that's what you want you can use PNG as a vector format would only export the paths (remove the fill and set stroke to 0.1 and you'll see what it really looks like), the same as what T2Laser loads. You could also add hatching in Inkscape to pseudo fill the vector if you prefer, the same can be done by using the raster format and tracing with hatch fill enabled in T2Laser.

Adding SVG support requires a plug-in and for a commercial license the cost would be excessive.
« Last Edit: September 01, 2019, 05:52:57 AM by Zax »

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3242
    • View Profile
Re: PCB engraving from SVG
« Reply #3 on: September 01, 2019, 09:09:41 AM »
I don't know of any license restrictions on the generic SVG library. inkscape is available for building from source and it uses svg.
SARCASM - Just one more service we offer here.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7304
    • View Profile
    • T2Laser
Re: PCB engraving from SVG
« Reply #4 on: September 01, 2019, 10:01:20 AM »
As long as the software is open source which of course T2Laser is not.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3242
    • View Profile
Re: PCB engraving from SVG
« Reply #5 on: September 01, 2019, 10:13:25 AM »
I think you are misinterpreting the requirements. Libraries which are used to build a product can be freely used in non-opensource commercial projects.
SARCASM - Just one more service we offer here.

MegaBlackJoe

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: PCB engraving from SVG
« Reply #6 on: September 01, 2019, 11:41:43 AM »
yes, because it's a pcb. I plan to use laser to expose photosensitive film. This is why I need it fully filled. As far as I understand the best option now is to export it to PNG in a bigger size and then correct size manually in T2laser itself. Adding support of SVG would be so much appreciated.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7304
    • View Profile
    • T2Laser
Re: PCB engraving from SVG
« Reply #7 on: September 01, 2019, 02:22:58 PM »
If you export the PNG at the required size and resolution it will import correctly, and engrave in raster. If it were an SVG it would still need to be either pseudo hatched or converted to raster so there's no advantage.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3242
    • View Profile
Re: PCB engraving from SVG
« Reply #8 on: September 01, 2019, 05:02:54 PM »
I recall that user Stonemull has performed similar etchings. He has posted a few articles and seems very open to collaboration and sharing.
SARCASM - Just one more service we offer here.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7304
    • View Profile
    • T2Laser
Re: PCB engraving from SVG
« Reply #9 on: September 02, 2019, 03:53:49 AM »
I think he was using Gerber format which is similar to SVG in that it's a vector format with some vectors being raster filled. I convert the file to raster as that's the best way to get a filled result.