I am scripting fab file output with kicad-cli.exe pcb export gerber since my EMS has special demands for Gerber File names and layers.
One restriction from my EMS is that width of board outline must be 0.
So I have configured "board_outline_line_width": 0.0, in the Project settings.
My DXF with the outline also has 0mm width and I input with Input->Graphical Elements. Set my import layer to Edge.Cuts and the DXF width to 0 as well.
In PCBnew the board outline is visible and it never extends while zooming. So it is really 0
When I generate gerbers from File->FabData->Gerber Data with these settings
the board outline in the gerber file shows up as 0 as well (no extending while zooming)
When I invoke the Gerber generation of this layer with
An requirement of a line width of 0 for Edge.Cuts is apparently unusual, as many PCB’s have been made without complaints. But it also sounds logical. Line width does not have a meaning for Edge.Cuts. My guess is that “normally” the center of the line is used, but it is still guesswork. In older KiCad versions, the width of the lines on Edge.Cuts was treated as copper tracks for calculating zone clearance from the edge.
And yet, when I draw a graphic line on Edge.Cuts and attempt to set the line width to 0, then KiCad complains with:
I also had a look at the Gerber X2 standard from Ucamco, and it states that lines must have a width of 0 or greater, so apparently lines of width zero are allowed.
My vote would be to make a bug report for this. In my opinion KiCad should be able to handle zero width lines internally, especially because gerber standards also allow it.
But you can also swing it the other way. Page 155, chapter 6.5 “The Profile” of the Gerber X2 standard states:
In case the path uses a non-zero aperture the center line represents the profile.
When following that line of thought, you can contact your EMS (I had to look that up) give them a copy (or link) to the gerber standard and show them that non zero width lines for PCB outlines are allowed.