Author Topic: Excellon / Gerber Issues  (Read 2037 times)

Offline CScotty

  • Ewok
  • *
  • Posts: 23
    • View Profile
Excellon / Gerber Issues
« on: August 18, 2019, 20:17:05 pm »
I'm having several issues when reading Excellon and Gerber files.

First this is what I see in the Excellon viewer, note the slots


Also here is the Gerber viewer, note the green edge cut circle:


Now once I read into Cambam ( I used the file merge plugin) I see:


So here are the issues
1) The slots in the Excellon file come out as round holes
2) The Edge cut circle is in the wrong place and size. It's the tiny dot I circled in red.
3) Nothing is centered.

Suggestions appreciated - thanks.

PS: Sorry about the big images! I had no idea they would show like that. Also, I can't attach gbr ot drl files, or so it seems



Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4383
    • View Profile
Re: Excellon / Gerber Issues
« Reply #1 on: August 18, 2019, 21:05:41 pm »

Also, I can't attach gbr ot drl files, or so it seems


You can zip them and attach the zip file
Made in England

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2314
    • View Profile
Re: Excellon / Gerber Issues
« Reply #2 on: August 19, 2019, 06:52:39 am »
I am using Gerber format for tracks and never had issues with them. For the drilling I export to nc-drill (.drl) and it is read by CB correctly. Depends on the export options of the PCB CAD program.

Offline CScotty

  • Ewok
  • *
  • Posts: 23
    • View Profile
Re: Excellon / Gerber Issues
« Reply #3 on: September 03, 2019, 20:57:02 pm »
Thank EddyCurrent.

Here is the zipped file.  I hope it helps.

Best,
CS


Offline CScotty

  • Ewok
  • *
  • Posts: 23
    • View Profile
Re: Excellon / Gerber Issues
« Reply #4 on: October 03, 2019, 15:18:01 pm »
Bump!

Any ideas, anyone?

Best,
CS

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6013
    • View Profile
    • Cambam V1.0 French Doc
Re: Excellon / Gerber Issues
« Reply #5 on: October 03, 2019, 19:56:58 pm »
Hello

Quote
1) The slots in the Excellon file come out as round holes

I'm not a PCB user at all, but the file with the .drl extension is a drilling file, and drilled holes are always round, no way to do a slot with a drill.

Quote
2) The Edge cut circle is in the wrong place and size. It's the tiny dot I circled in red.

If I load the circle alone, it is very small (Ø 0.01 mm) ; maybe a settings in your PCB software ?

++
David

Offline 10bulls

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 2164
  • Coding Jedi
    • View Profile
    • www.cambam.info
Re: Excellon / Gerber Issues
« Reply #6 on: October 04, 2019, 15:41:45 pm »
Bump!

Any ideas, anyone?

Best,
CS
Hi CS,

I am sorry for the delay in getting back to you.

I have had a look into these files. 
In the edge cut file, there is a G75 command (multi quadrant arc move), which is currently ignored.

In the Excellon file there are G85 (cut slot command), which is also ignored.

Apologies for these omissions and thank you for bringing them to my attention.

I have added this to the issues list and will work to get a fix in the next update.



Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2314
    • View Profile
Re: Excellon / Gerber Issues
« Reply #7 on: October 04, 2019, 20:04:48 pm »
If the PCB CAD program can do it export the layout to DXF and if you get the ellipsoidal shapes use ordinary profile to cut them. For the round shapes you can use spiral drill for the larger diameters and peck drilling for the small.
I am using DipTrace and export drilling to nc.drill format readable by CamBam. But only for component through hole drilling. The rest I do by manually assigning milling operations.

Offline CScotty

  • Ewok
  • *
  • Posts: 23
    • View Profile
Re: Excellon / Gerber Issues
« Reply #8 on: October 12, 2019, 18:28:11 pm »
@10bulls:

Many thanks for looking into that.

Do you have any ideas on the edge cuts?  I don't know if I mentioned but I know the Gerbers are known good as real boards have been made from them

And apologies for slow reply.  Seems I'm not getting response notifications and then I forget to check.

-CS
« Last Edit: October 12, 2019, 18:31:53 pm by CScotty »

Offline 10bulls

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 2164
  • Coding Jedi
    • View Profile
    • www.cambam.info
Re: Excellon / Gerber Issues
« Reply #9 on: October 13, 2019, 08:06:34 am »
Do you have any ideas on the edge cuts?  I don't know if I mentioned but I know the Gerbers are known good as real boards have been made from them
The missing cut edges is the result of the ignored G75 problem mentioned above.

The cut edge is an arc move with the same start and end point.
If G75 (multi quadrant arc mode) is set, the above should be treated as a circle.

This, and the missing Excellon slots, have been fixed in development.  There should be a new update (rc3) next week.

Quote
And apologies for slow reply.  Seems I'm not getting response notifications and then I forget to check.
I will look into this.


Offline CScotty

  • Ewok
  • *
  • Posts: 23
    • View Profile
Re: Excellon / Gerber Issues
« Reply #10 on: October 13, 2019, 09:08:36 am »
Thanks for the explanation.

Feel free to throw a dev version my way if you'd like me to test when ready.

Congrats on the product BTW.

-CS