Plugin Board2PDF - Printing of a copper layer without holes

Greetings,

Previously, I managed (although unfortunately I do not remember the procedure) to print a layer of copper without filled holes for drilling.

I have a problem to achieve this behavior for a new installation. Could someone please advise me how to do it?

I’m not sure that I understand what result you’re looking for.

Board2Pdf uses KiCads API for plotting pdfs, and then post processes the plots to stack several plots on top of each other.

It’s possible that something has changed in KiCad so that you no longer get the result you want.

In KiCad 9 it’s possible to set the Drill Marks to None, Small or Actual Size.

I haven’t added this setting to be user controllable in Board2Pdf. It sets the Drill Marks to Actual Size for copper layers, and to None for any other layer.

if pcbnew.IsCopperLayer(layer_info.id):
    plot_options.SetDrillMarksType(pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE)
else:
    plot_options.SetDrillMarksType(pcbnew.DRILL_MARKS_NO_DRILL_SHAPE)

Can you try the File → Plot dialog in KiCad to see if you can get the result you’re looking for? If so you could add a feature request to Board2Pdf.

Hello, thanks for the response.

If I print directly to pdf, the holes in the copper are set to the current size.

image

However, if I print via the plugin, the holes are not there in the copper layer.

I am using the current stable version of KiCad: 9.0.3-9.0.3-0~ubuntu25.04.1
Version plugin: 1.9.2

That’s odd! I’ll look into this, but I won’t have the time tomorrow. Hopefully soon.

1 Like