Mercurial > scad-parts
changeset 10:2c620bd6b105
Alignment and naming adjustments
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 21 Dec 2014 12:44:34 +0100 |
| parents | d791564073e5 |
| children | 6bedebc5e19b |
| files | boards/arduino.scad power/batteries.scad servos/hk15318.scad servos/sg90.scad |
| diffstat | 4 files changed, 15 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/boards/arduino.scad Sun Dec 21 01:29:55 2014 +0100 +++ b/boards/arduino.scad Sun Dec 21 12:44:34 2014 +0100 @@ -61,7 +61,7 @@ } } -module arduino_pro_mini_goldpins() { +module arduino_pro_mini_pins() { for (y = [0:11]) { translate([1.27, 1.27 + 2.54 * y, 1]) { rotate([0, 180, 0]) goldpin(); @@ -83,4 +83,4 @@ } arduino_pro_mini(); -arduino_pro_mini_goldpins(); +arduino_pro_mini_pins();
--- a/power/batteries.scad Sun Dec 21 01:29:55 2014 +0100 +++ b/power/batteries.scad Sun Dec 21 12:44:34 2014 +0100 @@ -1,10 +1,12 @@ module wkLiPo238() { - color("Silver") hull() { - translate([0, 6.5, 0]) rotate([0, 90, 0]) cylinder(r=3.4, h=32); - translate([0, -6.5, 0]) rotate([0, 90, 0]) cylinder(r=3.4, h=32); + rotate(90) { + color("Slate") hull() { + translate([0, 6.5, 0]) rotate([0, 90, 0]) cylinder(r=3.4, h=32); + translate([0, -6.5, 0]) rotate([0, 90, 0]) cylinder(r=3.4, h=32); + } + color("Red") translate([1, 8.5, -1]) rotate([0, -90, 0]) cylinder(r1=0.75, r2=0, h=20); + color("Black") translate([1, 8.5, 1]) rotate([0, -90, 0]) cylinder(r1=0.75, r2=0, h=20); } - color("Red") translate([1, 8.5, -1]) rotate([0, -90, 0]) cylinder(r1=0.75, r2=0, h=20); - color("Black") translate([1, 8.5, 1]) rotate([0, -90, 0]) cylinder(r1=0.75, r2=0, h=20); } wkLiPo238();
--- a/servos/hk15318.scad Sun Dec 21 01:29:55 2014 +0100 +++ b/servos/hk15318.scad Sun Dec 21 12:44:34 2014 +0100 @@ -1,6 +1,6 @@ module HK15318() { - translate([-4, -12, 0]) { + translate([-4, -12, -20]) { color("Snow") { difference() { cube([8, 16, 14.4]);
--- a/servos/sg90.scad Sun Dec 21 01:29:55 2014 +0100 +++ b/servos/sg90.scad Sun Dec 21 12:44:34 2014 +0100 @@ -89,8 +89,12 @@ } } +module SG90_plug() { + rc_servo_plug(); +} + SG90(); SG90_double_horn(90); translate([0, 0, 10]) SG90_single_horn(90); translate([0, 0, 20]) SG90_horn_screw(); -translate([0, -20, 10]) rc_servo_plug(); +translate([0, -20, 10]) SG90_plug();
