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
aa451fb4
Commit
aa451fb4
authored
Jan 20, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freerouter does not understand "mixed" layers, export mixed as signal
parent
bf30114d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
specctra_export.cpp
pcbnew/specctra_export.cpp
+10
-11
No files found.
pcbnew/specctra_export.cpp
View file @
aa451fb4
...
...
@@ -1416,17 +1416,16 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
switch
(
aBoard
->
GetLayerType
(
pcbLayer2kicad
[
pcbNdx
]
)
)
{
default
:
case
LT_SIGNAL
:
layerType
=
T_signal
;
break
;
case
LT_POWER
:
layerType
=
T_power
;
break
;
case
LT_MIXED
:
layerType
=
T_mixed
;
break
;
case
LT_JUMPER
:
layerType
=
T_jumper
;
break
;
case
LT_SIGNAL
:
layerType
=
T_signal
;
break
;
case
LT_POWER
:
layerType
=
T_power
;
break
;
#if 1 // Freerouter does not support type "mixed", only signal and power.
// Remap "mixed" to "signal".
case
LT_MIXED
:
layerType
=
T_signal
;
break
;
#else
case
LT_MIXED
:
layerType
=
T_mixed
;
break
;
#endif
case
LT_JUMPER
:
layerType
=
T_jumper
;
break
;
}
layer
->
layer_type
=
layerType
;
...
...
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