Footprint wizards: fix issues.
This commit is contained in:
parent
8caef8f8b1
commit
9e61c6ce1b
|
@ -94,7 +94,7 @@ class FPCFootprintWizard(FootprintWizardPlugin):
|
||||||
module.Value().SetTextPosition(module.Value().GetPos0())
|
module.Value().SetTextPosition(module.Value().GetPos0())
|
||||||
module.Value().SetSize( size_text )
|
module.Value().SetSize( size_text )
|
||||||
|
|
||||||
fpid = pcbnew.FPID(self.module.GetReference()) #the name in library
|
fpid = FPID(self.module.GetReference()) #the name in library
|
||||||
module.SetFPID( fpid )
|
module.SetFPID( fpid )
|
||||||
|
|
||||||
# create a pad array and add it to the module
|
# create a pad array and add it to the module
|
||||||
|
|
|
@ -184,7 +184,7 @@ class TouchSliderWizard(FootprintWizardPlugin):
|
||||||
self.AddStrip(pos,steps,band_width,step_length,touch_clearance)
|
self.AddStrip(pos,steps,band_width,step_length,touch_clearance)
|
||||||
pos+=wxPoint(0,band_width)
|
pos+=wxPoint(0,band_width)
|
||||||
|
|
||||||
fpid = pcbnew.FPID(self.module.GetReference()) #the name in library
|
fpid = FPID(self.module.GetReference()) #the name in library
|
||||||
module.SetFPID( fpid )
|
module.SetFPID( fpid )
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
|
Loading…
Reference in New Issue