Mercurial > scad-parts
changeset 15:f99334db4d7e
Add permaboard
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 21 Dec 2014 13:51:53 +0100 |
| parents | ce18af2b05e0 |
| children | 3c7466dbc0a5 |
| files | boards/permaboard.scad |
| diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/boards/permaboard.scad Sun Dec 21 13:51:53 2014 +0100 @@ -0,0 +1,20 @@ +module permaboard(rows=1, cols=1) { + difference() { + union () { + color("SeaGreen") { + cube([rows * 2.54, cols * 2.54, 1]); + } + color("Gold") for (y = [0:cols - 1]) for (x = [0:rows - 1]) { + translate([x * 2.54 + 1.27, y * 2.54 + 1.27, 0.5]) + cylinder(r=1, h=1.2, center=true, $fn=7); + } + } + color("Gold") for (y = [0:cols - 1]) for (x = [0:rows - 1]) { + translate([x * 2.54 + 1.27, y * 2.54 + 1.27, 0.5]) + cylinder(r=0.4, h=1.4, center=true, $fn=5); + } + } + +} + +permaboard(2, 2);
