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
d54675b5
Commit
d54675b5
authored
Nov 13, 2014
by
unknown
Committed by
jean-pierre charras
Nov 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in IDF export (plus minor cleaning up of IDF/VRML export)
parent
d84567ae
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
export_idf.cpp
pcbnew/exporters/export_idf.cpp
+7
-4
idf_parser.cpp
utils/idftools/idf_parser.cpp
+2
-1
vrml_layer.cpp
utils/idftools/vrml_layer.cpp
+1
-1
No files found.
pcbnew/exporters/export_idf.cpp
View file @
d54675b5
...
...
@@ -443,6 +443,9 @@ static void idf_export_module( BOARD* aPcb, MODULE* aModule,
comp
->
SetPosition
(
aModule
->
GetPosition
().
x
*
scale
+
dx
,
-
aModule
->
GetPosition
().
y
*
scale
+
dy
,
rotz
,
IDF3
::
LYR_BOTTOM
);
comp
->
SetPlacement
(
IDF3
::
PS_ECAD
);
}
else
{
...
...
utils/idftools/idf_parser.cpp
View file @
d54675b5
...
...
@@ -728,7 +728,8 @@ void IDF3_COMP_OUTLINE_DATA::writePlaceData( std::ofstream& aBoardFile,
if
(
aPlacement
==
PS_INVALID
)
{
ERROR_IDF
<<
"placement invalid; defaulting to PLACED
\n
"
;
ERROR_IDF
<<
"placement invalid ("
<<
aRefDes
<<
":"
;
std
::
cerr
<<
aPlacement
<<
"); defaulting to PLACED
\n
"
;
aPlacement
=
PS_PLACED
;
}
...
...
utils/idftools/vrml_layer.cpp
View file @
d54675b5
...
...
@@ -30,7 +30,7 @@
// a closed loop as assumed for all other outlines.
// 3. a scheme is needed to tell a castellated edge from a plain board edge
#include <iostream>
#include <sstream>
#include <string>
#include <iomanip>
...
...
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