2020-04-14 13:09:58 -04:00
|
|
|
//
|
|
|
|
// NopSCADlib Copyright Chris Palmer 2020
|
|
|
|
// nop.head@gmail.com
|
|
|
|
// hydraraptor.blogspot.com
|
|
|
|
//
|
|
|
|
// This file is part of NopSCADlib.
|
|
|
|
//
|
|
|
|
// NopSCADlib is free software: you can redistribute it and/or modify it under the terms of the
|
|
|
|
// GNU General Public License as published by the Free Software Foundation, either version 3 of
|
|
|
|
// the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// NopSCADlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
|
|
|
// If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
//
|
|
|
|
include <../core.scad>
|
|
|
|
include <../vitamins/pcbs.scad>
|
|
|
|
|
|
|
|
|
|
|
|
module axials() {
|
|
|
|
pcb = PERF60x40;
|
|
|
|
pcb(pcb);
|
|
|
|
|
|
|
|
pcb_grid(pcb, 0, 2)
|
|
|
|
rotate(90)
|
|
|
|
wire_link(0.8, inch(0.4));
|
|
|
|
|
|
|
|
for(i = [0 : len(ax_resistors) - 1]) {
|
2020-04-14 13:21:42 -04:00
|
|
|
pcb_grid(pcb, 2 * i + 2, 1 + [0, 0.5, 1.5][i])
|
2020-04-14 13:09:58 -04:00
|
|
|
rotate(90)
|
|
|
|
ax_res(ax_resistors[i], [1000, 47000, 8200][i], 5);
|
|
|
|
|
2020-04-14 13:21:42 -04:00
|
|
|
pcb_grid(pcb, 2 * i + 2, 6.5)
|
2020-04-14 13:09:58 -04:00
|
|
|
rotate(-90)
|
|
|
|
ax_res(ax_resistors[i], [2200, 39000, 8250][i], 1, inch(0.1));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if($preview)
|
|
|
|
axials();
|