In V6 I simply passed an integer of 0, 1 or 2 as an argument for PCB_PLOT_PARAMS.SetDrillMarksType( DrillMarksType aVal ), but that’s not possible in V6.99. I get the exception:
TypeError: in method ‘PCB_PLOT_PARAMS_SetDrillMarksType’, argument 2 of type ‘DRILL_MARKS’
I cannot figure out what to set as an argument instead. Feels like I’ve tried everything.
plot_options.SetDrillMarksType(pcbnew.PCB_PLOT_PARAMS.FULL_DRILL_SHAPE) gives me the error:
AttributeError: type object ‘PCB_PLOT_PARAMS’ has no attribute ‘FULL_DRILL_SHAPE’
Same with:
plot_options.SetDrillMarksType(pcbnew.PCB_PLOT_PARAMS.DRILL_MARKS.FULL_DRILL_SHAPE)
And with:
plot_options.SetDrillMarksType(pcbnew.DRILL_MARKS.FULL_DRILL_SHAPE)
I’ve tried looking in the source code to figure out how to use the DRILL_MARKS enum, but I’m really not a software developer and I cannot figure out which class it belongs to.