mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-27 01:03:51 -05:00
44 lines
1.3 KiB
OpenSCAD
44 lines
1.3 KiB
OpenSCAD
//
|
|
// 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]) {
|
|
pcb_grid(pcb, 2 * i + 2, 1 + [0, 0.5, 1.5][i])
|
|
rotate(90)
|
|
ax_res(ax_resistors[i], [1000, 47000, 8200][i], 5);
|
|
|
|
pcb_grid(pcb, 2 * i + 2, 6.5)
|
|
rotate(-90)
|
|
ax_res(ax_resistors[i], [2200, 39000, 8250][i], 1, inch(0.1));
|
|
}
|
|
}
|
|
|
|
if($preview)
|
|
axials();
|