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
2b7626a2
Commit
2b7626a2
authored
Oct 12, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug 658716 (Pads too large in gerber for rotated SMT module)
parent
2ddcbe1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
common_plotGERBER_functions.cpp
common/common_plotGERBER_functions.cpp
+8
-8
No files found.
common/common_plotGERBER_functions.cpp
View file @
2b7626a2
...
...
@@ -458,14 +458,14 @@ void GERBER_PLOTTER::flash_pad_rect( wxPoint pos, wxSize size,
// coord[3] is assumed the lower right
/* Trace the outline. */
coord
[
0
].
x
=
-
size
.
x
;
// lower left
coord
[
0
].
y
=
size
.
y
;
coord
[
1
].
x
=
-
size
.
x
;
// upper left
coord
[
1
].
y
=
-
size
.
y
;
coord
[
2
].
x
=
size
.
x
;
// upper right
coord
[
2
].
y
=
-
size
.
y
;
coord
[
3
].
x
=
size
.
x
;
//lower right
coord
[
3
].
y
=
size
.
y
;
coord
[
0
].
x
=
-
size
.
x
/
2
;
// lower left
coord
[
0
].
y
=
size
.
y
/
2
;
coord
[
1
].
x
=
-
size
.
x
/
2
;
// upper left
coord
[
1
].
y
=
-
size
.
y
/
2
;
coord
[
2
].
x
=
size
.
x
/
2
;
// upper right
coord
[
2
].
y
=
-
size
.
y
/
2
;
coord
[
3
].
x
=
size
.
x
/
2
;
//lower right
coord
[
3
].
y
=
size
.
y
/
2
;
flash_pad_trapez
(
pos
,
coord
,
orient
,
trace_mode
);
}
...
...
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