diff --git a/pcbnew/scripting/plugins/bga_wizard.py b/pcbnew/scripting/plugins/bga_wizard.py index 2ca044a821..5f812c4e6e 100644 --- a/pcbnew/scripting/plugins/bga_wizard.py +++ b/pcbnew/scripting/plugins/bga_wizard.py @@ -56,7 +56,7 @@ class BGAWizard(HFPW.HelpfulFootprintWizardPlugin): pins = (self.parameters["Pads"]["*row count"] * self.parameters["Pads"]["*column count"]) - return "BGA %d" % pins + return "BGA_%d" % pins def GetReferencePrefix(self): return "U" diff --git a/pcbnew/scripting/plugins/qfp_wizard.py b/pcbnew/scripting/plugins/qfp_wizard.py index 76fac3700a..420490ae19 100644 --- a/pcbnew/scripting/plugins/qfp_wizard.py +++ b/pcbnew/scripting/plugins/qfp_wizard.py @@ -47,7 +47,7 @@ class QFPWizard(HelpfulFootprintWizardPlugin.HelpfulFootprintWizardPlugin): self.CheckParamBool("Pads", "*oval") def GetValue(self): - return "QFP %d" % self.parameters["Pads"]["*n"] + return "QFP_%d" % self.parameters["Pads"]["*n"] def BuildThisFootprint(self): diff --git a/pcbnew/scripting/plugins/sdip_wizard.py b/pcbnew/scripting/plugins/sdip_wizard.py index 876fa2f9ad..faf060f2af 100644 --- a/pcbnew/scripting/plugins/sdip_wizard.py +++ b/pcbnew/scripting/plugins/sdip_wizard.py @@ -101,7 +101,7 @@ class RowedFootprint(HFPW.HelpfulFootprintWizardPlugin): class SDIPWizard(RowedFootprint): def GetName(self): - return "S/DIP" + return "S-DIP" def GetDescription(self): return "Single/Dual Inline Package Footprint Wizard" @@ -128,7 +128,7 @@ class SDIPWizard(RowedFootprint): else: # triple and up aren't really a thing, but call it something! name = "xIP" - return "%s %d" % (name, self.parameters["Pads"]["*n"]) + return "%s-%d" % (name, self.parameters["Pads"]["*n"]) def GetPad(self): pad_length = self.parameters["Pads"]["pad length"] @@ -177,7 +177,7 @@ class SOICWizard(RowedFootprint): return "SOIC, MSOP, SSOP, TSSOP, etc, footprint wizard" def GetValue(self): - return "%s %d" % ("SOIC", self.parameters["Pads"]["*n"]) + return "%s-%d" % ("SOIC", self.parameters["Pads"]["*n"]) def GenerateParameterList(self): RowedFootprint.GenerateParameterList(self)