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
3da78c5d
Commit
3da78c5d
authored
Nov 13, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default_smd was too big for low density boards
parent
5fce2dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
specctra_export.cpp
pcbnew/specctra_export.cpp
+9
-3
No files found.
pcbnew/specctra_export.cpp
View file @
3da78c5d
...
...
@@ -993,14 +993,20 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
sprintf
(
rule
,
"(clearance %.6g)"
,
clearance
+
safetyMargin
);
rules
.
push_back
(
rule
);
// On a high density board, a typical solder mask clearance will be 2-3 mils.
// On a high density board (a board with 4 mil tracks, 4 mil spacing)
// a typical solder mask clearance will be 2-3 mils.
// This exposes 2 to 3 mils of bare board around each pad, and would
// leave only 1 to 2 mils of solder mask between the solder mask's boundary
// to the edge of any trace within "clearance" of the pad. So we need at least
// 2 mils *extra* clearance for traces which would come near a pad on
// a different net. So if the baseline trace to trace clearance was say 4 mils, then
// the SMD to trace clearance should be at least 6 mils. Also add our safetyMargin.
sprintf
(
rule
,
"(clearance %.6g (type default_smd))"
,
clearance
+
2.0
+
safetyMargin
);
// the SMD to trace clearance should be at least 6 mils.
double
default_smd
=
clearance
+
safetyMargin
;
if
(
default_smd
<=
6.0
)
default_smd
=
6.0
;
sprintf
(
rule
,
"(clearance %.6g (type default_smd))"
,
default_smd
);
rules
.
push_back
(
rule
);
/* see: http://www.freerouting.net/usren/viewtopic.php?f=5&t=339#p474
...
...
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