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
ba78c6ec
Commit
ba78c6ec
authored
Nov 01, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a compile time option to report an islanded circle as a specctra_export error
parent
74d54df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
specctra_export.cpp
pcbnew/specctra_export.cpp
+12
-1
No files found.
pcbnew/specctra_export.cpp
View file @
ba78c6ec
...
@@ -783,16 +783,27 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr
...
@@ -783,16 +783,27 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr
break
;
break
;
case
S_CIRCLE
:
case
S_CIRCLE
:
#if 0
// do not output a circle, freerouter does not understand it.
// do not output a circle, freerouter does not understand it.
// this might be a mounting hole or something, ignore it without error
// this might be a mounting hole or something, ignore it without error
// because some of our demo boards have used the edges pcb layer to
// hold islanded circles, rather than simply using holes.
break;
break;
#else
// Do not output a circle, freerouter does not understand it.
// tell user his board has a problem, this is better than silently
// ignoring the error. "edges pcb" layer should not be used
// to hold islanded circles which could or should better be done
// as simple holes. (Some of our demo boards have this problem.)
// fall thru here to report the error.
#endif
default
:
default
:
{
{
wxString
error
;
wxString
error
;
error
.
Printf
(
_
(
"Unsupported DRAWSEGMENT type %s"
),
error
.
Printf
(
_
(
"Unsupported DRAWSEGMENT type %s"
),
BOARD_ITEM
::
ShowShape
(
(
Track_Shapes
)
graphic
->
m_Shape
).
GetData
(
)
);
GetChars
(
BOARD_ITEM
::
ShowShape
(
(
Track_Shapes
)
graphic
->
m_Shape
)
)
);
ThrowIOError
(
error
);
ThrowIOError
(
error
);
}
}
...
...
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