From 261b1df47f6e40a08667ebeb6362cbdb8e206ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=20=E7=8E=8B?= <310301286@qq.com> Date: Thu, 10 Feb 2022 07:27:57 +0000 Subject: [PATCH] fix-npth --- pcbnew/python/plugins/PadArray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/python/plugins/PadArray.py b/pcbnew/python/plugins/PadArray.py index 751b306796..e13a07898e 100644 --- a/pcbnew/python/plugins/PadArray.py +++ b/pcbnew/python/plugins/PadArray.py @@ -74,7 +74,7 @@ class PadMaker(object): pad = pcbnew.PAD(self.module) pad.SetSize(pcbnew.VECTOR2I(drill, drill)) pad.SetShape(pcbnew.PAD_SHAPE_CIRCLE) - pad.SetAttribute(pcbnew.PAD_ATTRIB_HOLE_NOT_PLATED) + pad.SetAttribute(pcbnew.PAD_ATTRIB_NPTH) pad.SetLayerSet(pad.UnplatedHoleMask()) pad.SetDrillSize(pcbnew.VECTOR2I(drill, drill)) return pad