Update sample script.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20538
This commit is contained in:
Jeff Young 2025-04-18 17:21:30 +01:00 committed by Seth Hillbrand
parent 046f1c916b
commit f9011e9e35

View File

@ -83,7 +83,6 @@ for layer_info in plot_plan:
# (you'll see that even holes have designators, obviously)
popt.SetPlotReference(True)
popt.SetPlotValue(False)
popt.SetPlotInvisibleText(False)
pctl.SetLayer(F_SilkS)
pctl.OpenPlotfile("AssyTop", PLOT_FORMAT_PDF, "Assembly top")
@ -92,7 +91,6 @@ pctl.PlotLayer()
# And a gerber with only the component outlines (really!)
popt.SetPlotReference(False)
popt.SetPlotValue(False)
popt.SetPlotInvisibleText(False)
pctl.SetLayer(F_SilkS)
pctl.OpenPlotfile("AssyOutlinesTop", PLOT_FORMAT_PDF, "Assembly outline top")
pctl.PlotLayer()
@ -107,7 +105,6 @@ popt.SetUseAuxOrigin(False)
popt.SetPlotReference(True)
popt.SetPlotValue(True)
popt.SetPlotInvisibleText(False)
pctl.SetLayer(Cmts_User)
pctl.PlotLayer()