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
b9f9d539
Commit
b9f9d539
authored
Feb 01, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more amazing free specctra software
parent
4a0b5607
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
182 additions
and
70 deletions
+182
-70
change_log.txt
change_log.txt
+15
-0
specctra.cpp
pcbnew/specctra.cpp
+1
-1
specctra.h
pcbnew/specctra.h
+6
-7
specctra_export.cpp
pcbnew/specctra_export.cpp
+160
-62
No files found.
change_log.txt
View file @
b9f9d539
...
@@ -5,6 +5,21 @@ Started 2007-June-11
...
@@ -5,6 +5,21 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.
2008-Jan-29 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+pcbnew:
SPECCTRA export now exports pads with offset OK, exports oval pads OK,
and tries to do less with pcb edges that are not a connected set of lines,
putting the burden back on the PCBNEW user to have clean perimeter lines.
Discovered that freerouter does not support oval pads yet, asked
for enhancement. Discovered a small problem if you modify a PAD in
the MODULE editor but do not replicate that change throughout all module
instances in the board. Is on my @todo list. Otherwise it is getting pretty
good now. Most boards load into freerouter, except mine, which if exported
with part numbers, hangs the freerouter! I may be away for a few days doing
billable work, after which I will begin the 2 imports, *.dsn and *.ses.
2008-Jan-31 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2008-Jan-31 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
================================================================================
+pcbnew:
+pcbnew:
...
...
pcbnew/specctra.cpp
View file @
b9f9d539
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
Wide use is made of boost::ptr_vector<> and std::vector<> template classes.
Wide use is made of boost::ptr_vector<> and std::vector<> template classes.
If the contained object is small, then std::vector tends to be used.
If the contained object is small, then std::vector tends to be used.
If the contained object is large, variable size, or would require writing
If the contained object is large, variable size, or would require writing
an assignment operator() or copy constructor
e
, then boost::ptr_vector
an assignment operator() or copy constructor, then boost::ptr_vector
cannot be beat.
cannot be beat.
*/
*/
...
...
pcbnew/specctra.h
View file @
b9f9d539
...
@@ -695,19 +695,19 @@ public:
...
@@ -695,19 +695,19 @@ public:
const
char
*
quote
=
out
->
GetQuoteChar
(
layer_id
.
c_str
()
);
const
char
*
quote
=
out
->
GetQuoteChar
(
layer_id
.
c_str
()
);
const
int
RIGHTMARGIN
=
8
0
;
const
int
RIGHTMARGIN
=
7
0
;
int
perLine
=
out
->
Print
(
nestLevel
,
"(%s %s%s%s %.6g"
,
int
perLine
=
out
->
Print
(
nestLevel
,
"(%s %s%s%s %.6g"
,
LEXER
::
GetTokenText
(
Type
()
),
LEXER
::
GetTokenText
(
Type
()
),
quote
,
layer_id
.
c_str
(),
quote
,
quote
,
layer_id
.
c_str
(),
quote
,
aperture_width
);
aperture_width
);
int
wrapNest
=
MAX
(
nestLevel
+
1
,
6
);
for
(
unsigned
i
=
0
;
i
<
points
.
size
();
++
i
)
for
(
unsigned
i
=
0
;
i
<
points
.
size
();
++
i
)
{
{
if
(
perLine
>
RIGHTMARGIN
)
if
(
perLine
>
RIGHTMARGIN
)
{
{
out
->
Print
(
0
,
"
\n
"
);
out
->
Print
(
0
,
"
\n
"
);
perLine
=
out
->
Print
(
nestLevel
+
1
,
"%s"
,
""
);
perLine
=
out
->
Print
(
wrapNest
,
"%s"
,
""
);
newline
=
"
\n
"
;
}
}
else
else
perLine
+=
out
->
Print
(
0
,
" "
);
perLine
+=
out
->
Print
(
0
,
" "
);
...
@@ -717,10 +717,9 @@ public:
...
@@ -717,10 +717,9 @@ public:
if
(
aperture_type
==
T_square
)
if
(
aperture_type
==
T_square
)
{
{
out
->
Print
(
0
,
"
\n
"
);
out
->
Print
(
0
,
"(aperture_type square)"
);
out
->
Print
(
nestLevel
+
1
,
"(aperture_type square))
\n
"
);
}
}
else
out
->
Print
(
0
,
")%s"
,
newline
);
out
->
Print
(
0
,
")%s"
,
newline
);
}
}
};
};
...
...
pcbnew/specctra_export.cpp
View file @
b9f9d539
This diff is collapsed.
Click to expand it.
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