changeset 45:98ecf0e48c3a

Use use instead of include
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 17 Aug 2014 10:53:06 +0200
parents 5537b55e7d5b
children 4918c6d577e9
files scad/arduino.scad scad/board.scad scad/body.scad scad/ik.scad scad/leg.scad scad/robot.scad scad/sg90.scad
diffstat 7 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/scad/arduino.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/arduino.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -83,5 +83,5 @@
     }
 }
 
-//arduino_pro_mini();
-//arduino_pro_mini_goldpins();
+arduino_pro_mini();
+arduino_pro_mini_goldpins();
--- a/scad/board.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/board.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -1,4 +1,4 @@
-include <arduino.scad>
+use <arduino.scad>
 
 module short_pin() {
     color("Gold") translate([0, 0, -0.5]) cylinder(r=0.3, h=25.4/3 - 2, $fn=4);
@@ -17,8 +17,8 @@
         }
     }
     color("DarkGray") {
-        translate([1, 0, -1]) cylinder(r=0.3, h=2.5, $fn=4);
-        translate([-1, 0, -1]) cylinder(r=0.3, h=2.5, $fn=4);
+        translate([1, 1, -1]) cylinder(r=0.3, h=2.5, $fn=4);
+        translate([-1, -1, -1]) cylinder(r=0.3, h=2.5, $fn=4);
     }
 }
 
--- a/scad/body.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/body.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -45,4 +45,4 @@
     }
 }
 
-//body();
+body();
--- a/scad/ik.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/ik.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -1,4 +1,4 @@
-include <leg.scad>
+use <leg.scad>
 
 module line(len) {
     color("yellow") {
--- a/scad/leg.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/leg.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -1,4 +1,4 @@
-include <sg90.scad>
+use <sg90.scad>
 
 module leg(hip, knee, ankle, explode) {
     SG90_single_horn();
@@ -40,4 +40,4 @@
     }
 }
 
-//leg(10, -20, 20, 0);
+leg(10, -20, 20, 0);
--- a/scad/robot.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/robot.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -1,5 +1,5 @@
-include <leg.scad>
-include <body.scad>
+use <leg.scad>
+use <body.scad>
 
 module robot(explode) {
     translate([0, 0, 70]) union() {
--- a/scad/sg90.scad	Sat Aug 16 21:43:34 2014 +0200
+++ b/scad/sg90.scad	Sun Aug 17 10:53:06 2014 +0200
@@ -91,7 +91,7 @@
     }
 }
 
-//SG90();
-//SG90_double_horn(90);
+SG90();
+SG90_double_horn(90);
 //SG90_single_horn(90);
-//SG90_horn_screw();
+SG90_horn_screw();