I am using the nightky builds of KiCad6.
Following “How to”-s about plane layers, I can see no diffrence between a plane layer and a signal layer all covered with one zone.
The Gerber for a layer defined as a plane begins by:
KiCad V6 does not exist yet.
The closest you can get is KiCad-nightly V5.99.
I also wonder why your Gerber snippet shows V5.1.7 ?
%TF.GenerationSoftware,KiCad,Pcbnew,5.99.0-unknown-9b1890606d~127~ubuntu20.04.1*%
%TF.CreationDate,2021-04-22T18:44:56+02:00*%
%TF.ProjectId,LED_PT4115,4c45445f-5054-4343-9131-352e6b696361,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Copper,L2,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.99.0-unknown-9b1890606d~127~ubuntu20.04.1) date 2021-04-22 18:44:56*
%MOMM*%
%LPD*%
You can download the standard for Gerber files directly from Ucamco:
I had a peek through the version I have (X2 Revision 2018.11). It defines at least 14 different "FileFunction** types, but no “Plane”.
(5.6.3, Page 136)
There are also some ambiguities and deprecated stuff in the Gerber file format. It started as a proprietary format from one plotter manufacturer and there have been many dialects in the 40 or so years of it’s existence. Ucamco also has some documents available with guidelines of how to write proper Gerber files.
The current KiCad %TF.FileFunction,Copper,L2,Inr*% is valid.
Your “genuine” plane-layer %TF.FileFunction,Plane,L2,Inr*% is not valid Gerber.
Valid would be %TF.FileFunction,Copper,L2,Inr,Plane*%
Why do you need to have Plane/Signal in the Gerber file?
About the second line in the “genuine” example: in section 5.6.4:
Power/ground planes in negative made
sense in the 1970s and 1980s to get around the limitations in the vector photoplotters of that
age but there is no longer any reason for negative today.
Is that example from a gerber file from another, old EDA?
Use of “Negative” is quite common in Gerber files.
Traditionally the solder mask ls an inverted layer.
Here a header of one generated by KiCad:
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.99.0-unknown-99442350a4~142~ubuntu20.04.1*
G04 #@! TF.CreationDate,2021-10-26T22:38:27+02:00*
G04 #@! TF.ProjectId,mumar_base_stm32,6d756d61-725f-4626-9173-655f73746d33,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Soldermask,Bot*
G04 #@! TF.FilePolarity,Negative*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.99.0-unknown-99442350a4~142~ubuntu20.04.1) date 2021-10-26 22:38:27*
%MOMM*%
%LPD*%
Apart from negative layers, negative features are also common. It is for example used to subtract pads from silkscreen, and KiCad’s Gerbview has a built-in menu option to make these visible.