Author Topic: JLPCB - Gerber Format/Precision?  (Read 2225 times)

0 Members and 2 Guests are viewing this topic.

Offline UkyTopic starter

  • Regular Contributor
  • *
  • Posts: 134
  • Country: se
JLPCB - Gerber Format/Precision?
« on: February 17, 2025, 08:39:04 pm »
I was going to submit a small job to JLPCB but it seems the site has changed
since last time.

The suggested layer names are there, but the required (or accepted) unit of measure and
precision was nowhere to be found.

I have for years used (RS274X) metric units (mm) with various number of leading/trailing precision.
Not wanting to run into problems, I have been looking for JLPCB's format requirements
other than file name conventions.

A link?
Someone?

 ???

 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14166
  • Country: gb
    • Mike's Electric Stuff
Re: JLPCB - Gerber Format/Precision?
« Reply #1 on: February 17, 2025, 08:55:02 pm »
Just upload it and look at the preview
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 16152
  • Country: fr
Re: JLPCB - Gerber Format/Precision?
« Reply #2 on: February 18, 2025, 12:41:25 am »
I use 4.6 (mm) for all my PCBs. JLCPCB takes it with no issues. I see little reason to use less than 4.6 these days.
 

Offline UkyTopic starter

  • Regular Contributor
  • *
  • Posts: 134
  • Country: se
Re: JLPCB - Gerber Format/Precision?
« Reply #3 on: February 24, 2025, 02:47:04 pm »
My tool recommends using one trailing digit more than the design itself
so metric "4.3"  it was and JLPCB accepted it w/o any problem.

 :)



 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 709
  • Country: gb
    • Electronic controls
Re: JLPCB - Gerber Format/Precision?
« Reply #4 on: February 24, 2025, 04:11:37 pm »
Ask them on their chat.

The buggers have a habit of changing things.
I used their recommended file extensions for years then I suddenly got a pcb back with solder resist layers reversed !
They had changed recommended file extensions.
I had to go into my gerber files and change the extensions to fit their new way of doing things.
« Last Edit: February 24, 2025, 04:13:11 pm by nigelwright7557 »
 

Offline UkyTopic starter

  • Regular Contributor
  • *
  • Posts: 134
  • Country: se
Re: JLPCB - Gerber Format/Precision?
« Reply #5 on: February 24, 2025, 09:39:21 pm »
The extension naming conventions had not changed since last time.
And judging from their pre-viewer, all layers were correct.

My system (Cadence) produces artwork files based upon classes and subclasses definitions
set up when starting a new board based on a default template (that can be changed).

Default extension is "ART" but can be changed to anything. There are also .IL- scripts written that will
rename the layer according to GKO, GTO, etc or whatever JLPCB requires but since I seldom
order PCB's for my own personal use I can live with this extra work. I always use a
separate gerber viewer anyway (view-mate) to verify that the layers and their content(s)
are named correctly regardless of who will manufacture the boards.

the professional customers I am work for uses other sources
for their boards, none of which requires naming conventions like JLPCB.

Thank G*d for that...

 

Offline tycz

  • Regular Contributor
  • *
  • Posts: 108
Re: JLPCB - Gerber Format/Precision?
« Reply #6 on: February 25, 2025, 10:31:03 pm »
I use 4.6 (mm) for all my PCBs. JLCPCB takes it with no issues. I see little reason to use less than 4.6 these days.

I think that's supported by the cam software only because more digits after the decimal is required for imperial gerbers. 4.4 in metric is roughly equivalent to 2.6 in imperial.

As an aside, somebody submitted a bug report to me that drill files generated by PCB Elegance don't show up properly in Ucamco's gerber viewer. It turns out that it relies on some non-standard (not in their own standard!) Altium addition that specifies the number format within the NC drill file. If it doesn't find this, it just assumes it's 3.3 without any way to input this manually. This seemed a bit silly, but then I looked up the capabilities of the most precise PCB manufactures I could find, and the best tolerance seems to be +/- 8um. That's not changed much in the past couple of decades either. 3.3 (metric) is only a problem when you need boards that are over a metre long.

Ask them on their chat.

The buggers have a habit of changing things.
I used their recommended file extensions for years then I suddenly got a pcb back with solder resist layers reversed !
They had changed recommended file extensions.
I had to go into my gerber files and change the extensions to fit their new way of doing things.

I never use these cryptic three letter file extensions for gerbers. They are another Altium/Protel invention from the 8.3 dos file name days. Too confusing and I can never remember the order of the inner layers (do they increase or decrease from to bottom?). All the Chinese factories I've dealt with (including JLC) have accepted my gerbers with plain English file names and a .ger/.gbr extension without any complaint or problem.

 

Offline HwAoRrDk

  • Super Contributor
  • ***
  • Posts: 1642
  • Country: gb
Re: JLPCB - Gerber Format/Precision?
« Reply #7 on: February 26, 2025, 03:16:03 am »
I never use these cryptic three letter file extensions for gerbers. They are another Altium/Protel invention from the 8.3 dos file name days. Too confusing and I can never remember the order of the inner layers (do they increase or decrease from to bottom?). All the Chinese factories I've dealt with (including JLC) have accepted my gerbers with plain English file names and a .ger/.gbr extension without any complaint or problem.

Me neither. I just name all my files with a .gbr extension. Have done for years.

However, that's because my design software produces Gerber files that contain metadata attributes that includes info that specifies what layer each file is. There is a 'FileFunction' attribute defined in the standard specifically for this purpose.

If you open your Gerber files in a text editor and they contain a line like the following, you're golden:

%TF.FileFunction,Copper,L1,Top*%

I believe if such a line is present, JLCPCB's CAM software ignores anything else. Although I still include the layer name in the filename for my own sake. :)
 

Offline ahsrabrifat

  • Regular Contributor
  • *
  • Posts: 85
  • Country: pk
Re: JLPCB - Gerber Format/Precision?
« Reply #8 on: March 02, 2025, 05:41:28 am »
I was going to submit a small job to JLPCB but it seems the site has changed
since last time.

The suggested layer names are there, but the required (or accepted) unit of measure and
precision was nowhere to be found.

I have for years used (RS274X) metric units (mm) with various number of leading/trailing precision.
Not wanting to run into problems, I have been looking for JLPCB's format requirements
other than file name conventions.

A link?
Someone?

 ???
JLCPCB recommends using the Gerber RS-274X format for PCB design submissions. This format inherently supports metric units (mm), aligning with your current practice.
You can find some information in their docs.
https://jlcpcb.com/help/article/how-to-generate-gerber-files-in-different-software
https://jlcpcb.com/help/catalog/180-PCB-Files-Preparation

 It's advisable to use standard precision settings that are commonly accepted in the industry. Here is an elaborated blog regarding gerber file generation. All things like Configuration Parameters, Aperture Definitions, XY Coordinates, Draw and Flash Commands have been discussed in detail. Hope you will find it helpful.

https://www.allpcb.com/blog/pcb-design/what-are-gerber-files.html
 

Offline UkyTopic starter

  • Regular Contributor
  • *
  • Posts: 134
  • Country: se
Re: JLPCB - Gerber Format/Precision?
« Reply #9 on: March 02, 2025, 09:06:24 pm »
Used 274X, metric format 4.3

JLPCB accepted it and the boards arrived only a few days later.

 :)

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf