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
39216b4b
Commit
39216b4b
authored
Jul 02, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #1336614 (Vias missing from drill export)
parent
74df72e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gendrill_Excellon_writer.cpp
pcbnew/exporters/gendrill_Excellon_writer.cpp
+5
-4
No files found.
pcbnew/exporters/gendrill_Excellon_writer.cpp
View file @
39216b4b
...
...
@@ -457,7 +457,7 @@ void EXCELLON_WRITER::BuildHolesList( int aFirstLayer,
{
hole_value
=
via
->
GetDrillValue
();
if
(
hole_value
==
0
)
if
(
hole_value
==
0
)
// Should not occur.
continue
;
new_hole
.
m_Tool_Reference
=
-
1
;
// Flag value for Not initialized
...
...
@@ -470,11 +470,12 @@ void EXCELLON_WRITER::BuildHolesList( int aFirstLayer,
via
->
LayerPair
(
&
new_hole
.
m_Hole_Top_Layer
,
&
new_hole
.
m_Hole_Bottom_Layer
);
// LayerPair return params with m_Hole_Bottom_Layer < m_Hole_Top_Layer
if
(
(
new_hole
.
m_Hole_Bottom_Layer
>
aFirstLayer
)
&&
(
aFirstLayer
>=
0
)
)
// LayerPair return params with m_Hole_Bottom_Layer > m_Hole_Top_Layer
// (remember top layer = 0 and bottom layer = 31 for through hole vias)
if
(
(
new_hole
.
m_Hole_Top_Layer
<
aFirstLayer
)
&&
(
aFirstLayer
>=
0
)
)
continue
;
if
(
(
new_hole
.
m_Hole_
Top_Layer
<
aLastLayer
)
&&
(
aLastLayer
>=
0
)
)
if
(
(
new_hole
.
m_Hole_
Bottom_Layer
>
aLastLayer
)
&&
(
aLastLayer
>=
0
)
)
continue
;
if
(
aExcludeThroughHoles
&&
(
new_hole
.
m_Hole_Bottom_Layer
==
B_Cu
)
...
...
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