Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
strandstring
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
strandstring
Commits
f98ee3f6
Commit
f98ee3f6
authored
6 years ago
by
Erik Strand
Browse files
Options
Downloads
Patches
Plain Diff
Thicken upper part of VCC trace
parent
c7646804
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
node_board/main.cpp
+7
-0
7 additions, 0 deletions
node_board/main.cpp
with
7 additions
and
0 deletions
node_board/main.cpp
+
7
−
0
View file @
f98ee3f6
...
@@ -163,16 +163,23 @@ int main() {
...
@@ -163,16 +163,23 @@ int main() {
// VCC pads and traces
// VCC pads and traces
double
const
vcc_pad_x_min
=
2
*
(
cable_pad_width
+
min_cut_thickness
);
double
const
vcc_pad_x_min
=
2
*
(
cable_pad_width
+
min_cut_thickness
);
// pad 1
board
.
draw_rectangle
(
vcc_pad_x_min
,
board
.
draw_rectangle
(
vcc_pad_x_min
,
width
,
width
,
0
,
0
,
// Note the fudge factor... It makes mods happy.
// Note the fudge factor... It makes mods happy.
cable_pad_height
-
min_cut_thickness
-
min_trace_thickness
-
0.025
);
cable_pad_height
-
min_cut_thickness
-
min_trace_thickness
-
0.025
);
board
.
draw_rectangle
(
width
-
min_trace_thickness
,
width
,
0
,
height
);
board
.
draw_rectangle
(
width
-
min_trace_thickness
,
width
,
0
,
height
);
// pad 2
board
.
draw_rectangle
(
vcc_pad_x_min
,
board
.
draw_rectangle
(
vcc_pad_x_min
,
width
,
width
,
height
-
cable_pad_height
,
height
-
cable_pad_height
,
height
);
height
);
// pad extension
board
.
draw_rectangle
(
soic_x_max
+
min_cut_thickness
,
width
,
soic_top_y
-
pad_height
-
min_cut_thickness
,
height
-
cable_pad_height
);
double
const
vcc_pin_x
=
soic_x_min
+
soic_pitch
+
0.5
*
(
pad_width
-
min_trace_thickness
);
double
const
vcc_pin_x
=
soic_x_min
+
soic_pitch
+
0.5
*
(
pad_width
-
min_trace_thickness
);
board
.
draw_rectangle
(
vcc_pin_x
,
board
.
draw_rectangle
(
vcc_pin_x
,
width
,
width
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment