Correct way to define board outline?

The middle of the pink line is the board edge you are defining. The width of that line is a CAD/visual construct and means nothing to the fabrication process. The keep-out applies only to electrical (i.e., metal) portions of the design. You can typically take silk all the way to the edge of the board. Based on the polygon you have just above the "RAW" PTH, you likely are as close as you can get to the edge of the board with this connector (looks like a pin header). If you want to have the yellow (black plastic of pin header) directly to the edge of the board, you will have to decrease your keep-out.

The keep-out is for your own protection so that when they cut the PCBs from the panel, and apply mechanical stresses to the edges of the board, they aren't inadvertently breaking any of the metallization causing random opens/shorts.


You can define the board shape either way you want.

If you tell the shop that you are providing a board outline, they will make the outer edge of the board follow the center of the line in your gerbers.

If you tell the shop that you are providing a route tool path, they will make the routing tool follow the center line, and the edge of the board will be offset from that by the radius of the cutting tool.

For a simple board, it's better to provide a board outline and let the fab shop generate the route tool path for the size of tool they want to use.

If you want to have inner corners, or only partially depanelize the boards or something, then you might want to provide a route tool path. In Altium, look for the "Generate Route Tool Path" command to generate the path easily.

In Altium, for a board outline, typically you just use the Keepout layer to define it. Of course if you want you can redefine one of the mechanical layers to be the board outline and use that instead. If you generate ODB++ output instead of gerbers, there will be board outline information in the ODB++ based on the actual defined board outline in Altium, not any paths on any particular layers.

Since different layout tools name their gerber files differently, I suspect that most shops just look through the gerbers for a layer that looks like it has a board outline and use that (but it's better if you give them a readme file that says what each gerber file represents)

In a comment you mentioned,

No, I don't have a "fab drawing." I'll try to figure out if this is possibly in Altium.

Typically for simple boards Altium users just use the Drill Drawing layer for the fab drawing. If for some reason you want to have separate fab drawings and drill drawings, then you can again just rename one of your mechanical layers to be the fab drawing.