Skip to content
This repository
Browse code

Some more potential mistakes and an OpenSCAD syntax error

  • Loading branch information...
commit 5c9ef60e04de105e5c5a12050a0e6d760ba281bc 1 parent 9c1d8c4
Timothy Schmidt timschmidt authored
4 bitmap/alphabet_block.scad
@@ -5,7 +5,7 @@ http://tonybuser.com
5 5 http://creativecommons.org/licenses/by/3.0/
6 6 */
7 7
8   -<bitmap.scad>
  8 +use <bitmap.scad>
9 9
10 10 // change to any letter
11 11 letter = "A";
@@ -21,4 +21,4 @@ union() {
21 21 translate(v = [10, 10, 15]) {
22 22 8bit_char(letter, 2, 5);
23 23 }
24   -}
  24 +}
2  bitmap/bitmap.scad
@@ -973,7 +973,7 @@ module 8bit_char(char, block_size, height, include_base) {
973 973 0,1,0,0,0,0,0,0,
974 974 0,0,0,0,0,0,0,0
975 975 ], block_size, height, 8);
976   - } else if (char == "\") {
  976 + } else if (char == "\\") {
977 977 bitmap([
978 978 0,0,0,0,0,0,0,0,
979 979 0,1,1,0,0,0,0,0,
2  bitmap/height_map.scad
@@ -9,7 +9,7 @@ Can also dynamically run this by passing an array on the command line:
9 9 /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
10 10 */
11 11
12   -<bitmap.scad>
  12 +use <bitmap.scad>
13 13
14 14 block_size = 5;
15 15 height = 5;
4 bitmap/letter_necklace.scad
@@ -4,7 +4,7 @@ Elmo Mäntynen <elmo.mantynen@iki.fi>
4 4 LGPL 2.1
5 5 */
6 6
7   -include <bitmap.scad>
  7 +use <bitmap.scad>
8 8
9 9 // change chars array and char_count
10 10 // OpenSCAD has no string or length methods :(
@@ -46,7 +46,7 @@ module letter(char, block_size, height, hole_diameter) {
46 46 }
47 47 }
48 48
49   -matrix = [["O", "L", "E", "N", "S",],
  49 +matrix = [["O", "L", "E", "N", "S"],
50 50 [ "Y", "OE", "N", "Y", "T"]];
51 51
52 52 union() {
2  bitmap/name_tag.scad
@@ -5,7 +5,7 @@ http://tonybuser.com
5 5 http://creativecommons.org/licenses/by/3.0/
6 6 */
7 7
8   -<bitmap.scad>
  8 +use <bitmap.scad>
9 9
10 10 // change chars array and char_count
11 11 // OpenSCAD has no string or length methods :(

0 comments on commit 5c9ef60

Please sign in to comment.
Something went wrong with that request. Please try again.