Browse files

Some more potential mistakes and an OpenSCAD syntax error

  • Loading branch information...
1 parent 9c1d8c4 commit 5c9ef60e04de105e5c5a12050a0e6d760ba281bc @timschmidt timschmidt committed Jan 21, 2011
Showing with 7 additions and 7 deletions.
  1. +2 −2 bitmap/alphabet_block.scad
  2. +1 −1 bitmap/bitmap.scad
  3. +1 −1 bitmap/height_map.scad
  4. +2 −2 bitmap/letter_necklace.scad
  5. +1 −1 bitmap/name_tag.scad
View
4 bitmap/alphabet_block.scad
@@ -5,7 +5,7 @@ http://tonybuser.com
http://creativecommons.org/licenses/by/3.0/
*/
-<bitmap.scad>
+use <bitmap.scad>
// change to any letter
letter = "A";
@@ -21,4 +21,4 @@ union() {
translate(v = [10, 10, 15]) {
8bit_char(letter, 2, 5);
}
-}
+}
View
2 bitmap/bitmap.scad
@@ -973,7 +973,7 @@ module 8bit_char(char, block_size, height, include_base) {
0,1,0,0,0,0,0,0,
0,0,0,0,0,0,0,0
], block_size, height, 8);
- } else if (char == "\") {
+ } else if (char == "\\") {
bitmap([
0,0,0,0,0,0,0,0,
0,1,1,0,0,0,0,0,
View
2 bitmap/height_map.scad
@@ -9,7 +9,7 @@ Can also dynamically run this by passing an array on the command line:
/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD -m make -D bitmap=[2,2,2,0,1,3,2,2,2] -D row_size=3 -s height_map.stl height_map.scad
*/
-<bitmap.scad>
+use <bitmap.scad>
block_size = 5;
height = 5;
View
4 bitmap/letter_necklace.scad
@@ -4,7 +4,7 @@ Elmo Mäntynen <elmo.mantynen@iki.fi>
LGPL 2.1
*/
-include <bitmap.scad>
+use <bitmap.scad>
// change chars array and char_count
// OpenSCAD has no string or length methods :(
@@ -46,7 +46,7 @@ module letter(char, block_size, height, hole_diameter) {
}
}
-matrix = [["O", "L", "E", "N", "S",],
+matrix = [["O", "L", "E", "N", "S"],
[ "Y", "OE", "N", "Y", "T"]];
union() {
View
2 bitmap/name_tag.scad
@@ -5,7 +5,7 @@ http://tonybuser.com
http://creativecommons.org/licenses/by/3.0/
*/
-<bitmap.scad>
+use <bitmap.scad>
// change chars array and char_count
// OpenSCAD has no string or length methods :(

0 comments on commit 5c9ef60

Please sign in to comment.