mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-23 06:43:10 +02:00
use scad
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
use <pixel/px_from.scad>;
|
||||||
|
|
||||||
function px_ascii(char, center = false, invert = false) =
|
function px_ascii(char, center = false, invert = false) =
|
||||||
let(code = ord(char))
|
let(code = ord(char))
|
||||||
assert(code > 31 && code < 127, "not printable character")
|
assert(code > 31 && code < 127, "not printable character")
|
||||||
|
Reference in New Issue
Block a user