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
35e8a286
Commit
35e8a286
authored
Feb 06, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolved the zone 'cutout' support to specctra, handle zones with attached to no nets, namelessly
parent
31aee8ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
specctra.h
pcbnew/specctra.h
+2
-0
specctra_export.cpp
pcbnew/specctra_export.cpp
+1
-3
No files found.
pcbnew/specctra.h
View file @
35e8a286
...
...
@@ -1022,6 +1022,8 @@ public:
const
char
*
quote
=
out
->
GetQuoteChar
(
name
.
c_str
()
);
out
->
Print
(
0
,
" %s%s%s"
,
quote
,
name
.
c_str
(),
quote
);
}
else
out
->
Print
(
0
,
"
\"\"
"
);
// the zone with no name or net_code == 0
if
(
sequence_number
!=
-
1
)
out
->
Print
(
0
,
" (sequence_number %d)"
,
sequence_number
);
...
...
pcbnew/specctra_export.cpp
View file @
35e8a286
...
...
@@ -1060,7 +1060,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
PATH
*
cutout
=
0
;
// handle the cutouts
// http://www.freerouting.net/fen/viewtopic.php?f=6&t=19
for
(
++
ndx
;
ndx
<
count
;
++
ndx
)
{
if
(
item
->
m_Poly
->
corner
[
ndx
-
1
].
end_contour
)
...
...
@@ -1068,8 +1067,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
window
=
new
WINDOW
(
plane
);
plane
->
AddWindow
(
window
);
cutout
=
new
PATH
(
window
,
T_path
);
// cutout = new PATH( window, T_polygon );
cutout
=
new
PATH
(
window
,
T_polygon
);
window
->
SetShape
(
cutout
);
cutout
->
layer_id
=
layerIds
[
kicadLayer2pcb
[
item
->
GetLayer
()
]
];
...
...
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