Some more potential mistakes and an OpenSCAD syntax error
This commit is contained in:
parent
9c1d8c4ce8
commit
5c9ef60e04
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 :(
|
||||
|
|
Loading…
Reference in a new issue