Apologies from atommann (an engineer from JLCPCB), about Gerber X2 files at JLCPCB

I find that to be VERY interesting… I JUST got my second order in from JLCPCB the other day… a 2-layer and a 4-layer board. I used X2 Gerber option (5.1.6), and aside from a cosmetic issue on one board, they all turned out okay.

Does the gEDA fork/update pcb-rnd have a gerbv style viewer?

Yes, most of the orders with X2 files are OK and this is why I said “maybe my method (ask customers to re-plot RS-274X files) is overkill”

@eelik I scaled down your test file and placed 4 real orders for the 4 different combinations in 4 different colors, need to wait for about 4 days to get the them.

  • Board size: 80x50mm.
  • Octagonal pads are added.
  • Spacing between rows is 300 mil, real DIP-18 ICs can be soldered :slight_smile:
  • Some USB connectors are added because there are some spare spaces.
  • Traces are added to test if they’ll be lost.

Here’s the modified project: Flashpads-01.zip (1.0 MB)

EDIT on 2021-01-11

@eelik, Got the processed files.

I’m kinda disappointed because I found all my order has been processed correctly. Today I contact two relevant colleagues, they said the X2 to X1 converter is already handed to some engineers (who process Gerbers). And they are evaluating this converter/preprocessor, if it’s OK then all engineers will use it.

If you are careful enough you can find traces/evidences which shows my files are preprocessed before they were imported into the CAM tool.

For example, for Y91 (x2ap) in the file in ok folder you can see a temp folder X1_x2ap was created:

1. Path : (File) d:/foldername/88640f_y91_x2ap/yg/x2ap/X1_x2ap/Flashpads-B_Silkscreen.gbr

In Y92 (x2noap), in the yg folder, all my original X2 files are disappeared and they are replaced the RS-274X files except Flashpads-B_Silkscreen.gbr because this file is not used (no contents on bottom soldermask).

EDIT on 2021-01-16

Add photos.

4 Likes

I sympathise with you here. I don’t see KiCad as pushing X2, but rather that X2 is the out-of-the-box default. I always turn X2 off, because the cheap fabs I use have problems with it. So, sure, their CAM software are out of date or buggy, but the fabs are the ones that need to be nagged, not me. I’m not interested in getting review bounces just for a better standard when it has no effect on my simple jobs.

Similarly I continue to use Protel extensions, even though I approve of the use of a single extension from the viewpoint of a standard not using many suffixes. Although fabs seem to do some kind of parsing that works most of the time to identify the layers.

1 Like

I’ve been using gerblook.org for final validation of my files.

In China?

I just tried that and had the same results. X1 files work fine. The files generated as X2 will not load.

I think they still rely on Gerbv, as a loosely associated project. I haven’t followed development of pcb-rnd that closely though.

Pcb-rnd is the only gEDA derived project with activity, gEDA is sadly dormant - a good thing in a way for KiCad as the only complete opensource suite being developed and maintained, but I always feel some competition is a good thing

I suspect that our friends at Horizon and LibrePCB might disagree. :wink:

3 Likes

I have attempted to submit X2 format files to JLCPCB in the past and failed… so not sure what changed about your process that allowed this to get into the queue.

Coral EDA also (the project that contains PCB-RND)

I’d say PCB-RND would be the go to tool for lower end machines or people that prefer more retro unix like software. It interoperates with KiCad too.

At the moment the CoralEDA project is suspended as the only active participant is the pcb-rnd project.

Kind of a moot point… since pcb-rnd is the main component… its not like many of the perpherial areas of KiCad are any less “suspended”. Also pcb-rnd has active development just like KiCad these days.

I would say KiCad is much more approachable but, pcb-rnd is itself also useful… and has it’s own niche. Dissing other projects, or claiming some subjective status of “Best and only OSS EDA or some nonsense…” is not a good look for anyone.

Not a moot point because this hijack was response to

I like competition, you can borrow ideas in the opensource world.

I don’t know much about Horizon.
LibrePCB admit themselves that they are not for complex boards and have some incorrect info on KiCad in their comparison
I wish them both well.

1 Like

Just spotted this discussion after Seth asked me about how we handle this issue.

At AISLER we noticed this issue after a user noticed the corrupt preview in our Board Inspector. This was on October 13th. As we develop our CAM software in-house, a fix was deployed later that day. Because of this I can tell you, that it is definitely not related to the X2 extensions but rather to the aperture macro used.
Here is how our software dev described the issue

A spec test exists to reproduce the bug. The bug was located in the contourizer, when translating apertures (in this case a macro) to single polygons. The aperture in this example consists of 9 elements - four of them of type “line20”.
During the construction of polygons representing the lines of type 20, the polygons have been rotated correctly, but not moved translationally afterwards. Thus, constructing the shape failed because of their wrong location.

If anyone is interested I’d be willing to publish our fix. The macro as used by KiCad is definitely valid according to the Gerber specs and as soon as it is implemented correctly it works totally fine.

Cheers,
Patrick

11 Likes

Which issue? (Sorry, I figured out it’s the rounded rectangle pads issue)

It will be better to post the picture of deformed aperture macro shape before your fix.

See picture below. This is how it looked liked at us. Screenshot 2021-01-16 at 17.29.31
As we display the processed drawings online using our Board Inspector it is easily to spot these issues. Have you thought about something like this too?

4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.