Mercurial > scad-parts
changeset 8:2de8e0ce6ede
Add CN1584 power regulator module
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 21 Dec 2014 00:45:13 +0100 |
| parents | e7888d5ad3da |
| children | d791564073e5 |
| files | power/regulators.scad |
| diffstat | 1 files changed, 35 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/power/regulators.scad Sun Dec 21 00:45:13 2014 +0100 @@ -0,0 +1,35 @@ +use <../passives/connectors.scad>; + +module CN1584() { + difference() { + union() { + color("SeaGreen") cube([1.27 * 13, 1.27 * 17, 1]); + color("Gold") + for (y = [1, 16]) + for (x = [1, 3, 10, 12]) + translate([x * 1.27, y * 1.27, 0.5]) + cylinder(r=1, h=1.2, center=true, $fn=8); + } + color("Gold") + for (y = [1, 16]) + for (x = [1, 3, 10, 12]) + translate([x * 1.27, y * 1.27, 0.5]) + cylinder(r=0.4, h=1.4, center=true, $fn=6); + } + color("Black") translate([1.27 * 10, 1.27 * 3, -1.27 * 1.5]) cube([2.54, 1.27 * 3.5, 1.27 * 1.5]); + color("DimGray") translate([1.27 * 5, 1.27 * 3, -1.27 * 1]) cube([1.27 * 3, 1.27 * 4.5, 1.27 * 1]); + color("SlateGray") translate([1.27 * 6, 1.27 * 8, -1.27 * 2]) cube([1.27 * 6, 1.27 * 6, 1.27 * 2]); + color("Silver") translate([1.27 * 2, 1.27 * 12, -1.27 * 1]) cylinder(r=1.27 * 1.5, h=1.27 * 1); + color("Orange") translate([1.27 * 5.5, 1.27 * 0.5, -1.27 * 0.75]) cube([1.27 * 2, 1.27 * 1, 1.27 * 0.75]); + color("Orange") translate([1.27 * 5.5, 1.27 * 15.5, -1.27 * 0.75]) cube([1.27 * 2, 1.27 * 1, 1.27 * 0.75]); +} + +module CN1584_pins() { + for (y = [1, 16]) + for (x = [1, 3, 10, 12]) + translate([x * 1.27, y * 1.27, 0.1]) + goldpin(); +} + +CN1584(); +CN1584_pins();
