Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
9e61c6ce
Commit
9e61c6ce
authored
Nov 01, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Footprint wizards: fix issues.
parent
8caef8f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FPC_(SMD_type)_footprintwizard.py
pcbnew/scripting/plugins/FPC_(SMD_type)_footprintwizard.py
+1
-1
touch_slider_wizard.py
pcbnew/scripting/plugins/touch_slider_wizard.py
+1
-1
No files found.
pcbnew/scripting/plugins/FPC_(SMD_type)_footprintwizard.py
View file @
9e61c6ce
...
@@ -94,7 +94,7 @@ class FPCFootprintWizard(FootprintWizardPlugin):
...
@@ -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
...
...
pcbnew/scripting/plugins/touch_slider_wizard.py
View file @
9e61c6ce
...
@@ -184,7 +184,7 @@ class TouchSliderWizard(FootprintWizardPlugin):
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment