Skip to content
Snippets Groups Projects
Commit f98ee3f6 authored by Erik Strand's avatar Erik Strand
Browse files

Thicken upper part of VCC trace

parent c7646804
No related branches found
No related tags found
No related merge requests found
...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment