Author Topic: GBR files  (Read 22972 times)

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #60 on: November 13, 2016, 03:16:44 PM »
Thanks. I could use more files to test if anyone has some to post or a source I can download examples.

Currently I look for the aperture file in the same directory, with either the same prefix file name or the same name with the .apt extension.

I will look into adding the -X support, seems like it shouldn't be too difficult.

beikeland

  • Guest
Re: GBR files
« Reply #61 on: November 13, 2016, 03:18:33 PM »
Impressed with the commitment!!

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #62 on: November 13, 2016, 03:58:00 PM »
zax,
where do you find the mirror x and y?  Also, the board also needs to be rotated vertically as it won't fit on the printer.

thanks both of you for all your research and help.

Phil
Just got my home switches installed!👍

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #63 on: November 13, 2016, 04:19:17 PM »
here are more gerbers I think
Just got my home switches installed!👍

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #64 on: November 13, 2016, 04:35:41 PM »
Flip (Mirror) X & Y as well as Rotate are available for images, either on the edit toolbar or menu.

So the way I wrote the Gerber file import allows any of these modifications can be used as needed to create the output G-code.

I will do some more testing and likely release it "as is" tomorrow and then look further into adding the newer spec if you think it's worthwhile.

Since T2Laser can be used with CNC mills (Z-axis support) it would also be able to create drill files or even remove the copper directly with the right machine.

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #65 on: November 13, 2016, 04:38:23 PM »
Zax,

This is awesome!  I can hardly wait!


Phil
Just got my home switches installed!👍

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #66 on: November 14, 2016, 07:53:52 AM »
I checked those hybrid_pcb files, and I'm seeing a strange result.

The file does indeed contain these shapes (a square and a round aperture) but the commercial viewer is ignoring them which I am sure is correct, but I haven't yet figured out how it know to do so. Perhaps something to do with layers?

So I will be delaying the release pending a fix for this issue.

If anyone has more files to test I can make the import more robust.

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #67 on: November 14, 2016, 10:26:11 AM »
here are some more files.

Phil
Just got my home switches installed!👍

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #68 on: November 14, 2016, 10:31:53 AM »
Excellent.

I fixed the bug above and a few others, it seems to be working great with the other 2 groups so I will test these now.

Here's the silk screen layer.

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #69 on: November 14, 2016, 02:54:44 PM »
Zax,

Here is from another site.

Phil
Just got my home switches installed!👍

Agastar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
    • View Profile
Re: GBR files
« Reply #70 on: November 14, 2016, 03:04:56 PM »
OK... Agastar has spoken, so I will see what I can do.

LOL!!!

Agastar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
    • View Profile
Re: GBR files
« Reply #71 on: November 14, 2016, 03:23:30 PM »
We need an "I am not worthy" / bowing emoji :)

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #72 on: November 14, 2016, 04:12:42 PM »
I'm going to release v1.3m (Malta), let me know what you think.

I've only been able to test it with the files loaded here but it seems to work pretty well.

If you have the -D format you need to make sure there's an aperture file in the same folder as the Gerber file, and it's name needs to be the same or at least the same prefix. You should also select the units and dimensions in the Settings / Advanced Settings / Gerber Options menu. It will try to auto-detect if you don't select the correct values.

The newer -X format contains the aperture and settings so you just load it and done.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7271
    • View Profile
    • T2Laser
Re: GBR files
« Reply #73 on: November 14, 2016, 04:25:35 PM »
Here's the phono top file in T2Laser, as compared to the commercial viewer (which costs over $600).

Kunaphil

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: GBR files
« Reply #74 on: November 14, 2016, 04:46:24 PM »
Zax,
I  actually think that the T2 looks pretty good.  I think that it will work fine!
Just got my home switches installed!👍