Gerber File TF & TA hiding in "G04 #@!" comment?

Preparing layout for manufacturing, Requirements, Verifications. PCB manufacturing process. Feedback about manufacturers.
Post Reply
Message
Author
User avatar
ReverseEMF
Posts: 55
Joined: 02 Jun 2012, 12:51
Location: Utah
Contact:

Gerber File TF & TA hiding in "G04 #@!" comment?

#1 Post by ReverseEMF » 28 Nov 2018, 20:21

DipTrace Exported Gerber files have puzzling syntax like the following :

Code: Select all

G04 #@! TF.FileFunction,Copper,L1,Top*
G04 #@! TF.Part,Single*
G04 #@! TA.AperFunction,Conductor*
%ADD13C,0.025*%
%ADD14C,0.012*%
G04 #@! TA.AperFunction,ComponentPad*
%ADD19C,0.033*%
G04 signifies a comment. And, according to the Ucamco Revision 2016.04 Gerber File Specification, Comments cannot start with “#@!”. This is reserved for future use as standardized comments.

So, what appears to be happening in the above code, is: the TF and TA commands are embedded in a comment, and thus ineffectual.

Is there something I'm not seeing? Like, has #@! become a 'thing', even though, apparently, the specification doesn't recognize this syntax? Bottom-line: how does the typical PCB manufacturer interpret this?
If left to evolution, would this PCB ever design itself, and what would the lead time be on that?

Alex
Technical Support
Posts: 3170
Joined: 14 Jun 2010, 06:43

Re: Gerber File TF & TA hiding in "G04 #@!" comment?

#2 Post by Alex » 29 Nov 2018, 09:12

We checked specification of Gerber format and everything seems correct with comments. Maybe you mix up Gerber and Gerber X2 specifications?

User avatar
ReverseEMF
Posts: 55
Joined: 02 Jun 2012, 12:51
Location: Utah
Contact:

Re: Gerber File TF & TA hiding in "G04 #@!" comment?

#3 Post by ReverseEMF » 30 Nov 2018, 14:47

Yes, but, how is this interpreted? The TF and TA commands seem to be buried in comment lines? Why? Are they just for reference, or are they, somehow, extracted from the comment, by the Gerber interpreter [at the PCB manufacturer], and actually executed?

Also, this shows up even in Gerber exports where I DON'T select the X2 version [i.e. when I select "Gerber..."]
Last edited by ReverseEMF on 27 Dec 2018, 13:48, edited 1 time in total.
If left to evolution, would this PCB ever design itself, and what would the lead time be on that?

User avatar
ReverseEMF
Posts: 55
Joined: 02 Jun 2012, 12:51
Location: Utah
Contact:

Re: Gerber File TF & TA hiding in "G04 #@!" comment?

#4 Post by ReverseEMF » 03 Dec 2018, 01:29

Hello?
If left to evolution, would this PCB ever design itself, and what would the lead time be on that?

Alex
Technical Support
Posts: 3170
Joined: 14 Jun 2010, 06:43

Re: Gerber File TF & TA hiding in "G04 #@!" comment?

#5 Post by Alex » 03 Dec 2018, 09:49

Gerber X2 includes TF and TA commands. Gerber RS274X format doesn't understand these commands therefore they are exported as comments.

Post Reply