Skip to content

Commit 5c9ef60

Browse files
committed
Some more potential mistakes and an OpenSCAD syntax error
1 parent 9c1d8c4 commit 5c9ef60

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

bitmap/alphabet_block.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ http://tonybuser.com
55
http://creativecommons.org/licenses/by/3.0/
66
*/
77

8-
<bitmap.scad>
8+
use <bitmap.scad>
99

1010
// change to any letter
1111
letter = "A";
@@ -21,4 +21,4 @@ union() {
2121
translate(v = [10, 10, 15]) {
2222
8bit_char(letter, 2, 5);
2323
}
24-
}
24+
}

bitmap/bitmap.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ module 8bit_char(char, block_size, height, include_base) {
973973
0,1,0,0,0,0,0,0,
974974
0,0,0,0,0,0,0,0
975975
], block_size, height, 8);
976-
} else if (char == "\") {
976+
} else if (char == "\\") {
977977
bitmap([
978978
0,0,0,0,0,0,0,0,
979979
0,1,1,0,0,0,0,0,

bitmap/height_map.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Can also dynamically run this by passing an array on the command line:
99
/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
1010
*/
1111

12-
<bitmap.scad>
12+
use <bitmap.scad>
1313

1414
block_size = 5;
1515
height = 5;

bitmap/letter_necklace.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Elmo Mäntynen <elmo.mantynen@iki.fi>
44
LGPL 2.1
55
*/
66

7-
include <bitmap.scad>
7+
use <bitmap.scad>
88

99
// change chars array and char_count
1010
// OpenSCAD has no string or length methods :(
@@ -46,7 +46,7 @@ module letter(char, block_size, height, hole_diameter) {
4646
}
4747
}
4848

49-
matrix = [["O", "L", "E", "N", "S",],
49+
matrix = [["O", "L", "E", "N", "S"],
5050
[ "Y", "OE", "N", "Y", "T"]];
5151

5252
union() {

bitmap/name_tag.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ http://tonybuser.com
55
http://creativecommons.org/licenses/by/3.0/
66
*/
77

8-
<bitmap.scad>
8+
use <bitmap.scad>
99

1010
// change chars array and char_count
1111
// OpenSCAD has no string or length methods :(

0 commit comments

Comments
 (0)