MakerBot Font (parametric and variable-width!)
by hotkey, published
This is the ultimate MakerBot Font for OpenSCAD!
Now tagging and versioning (!) your OpenSCAD models is as easy as writing label("v1.0"). Give it a try! Just put an ID on every print and never lose track of your rapid prototyping evolution!
- * variable-width characters (eeeevil OpenSCAD hack!)
- * using new OpenSCAD string-functions (no more array ["m", "a", "d", "n", "e", "s", "s"])
- * font metrics
- * text alignment functions
- * self-contained in one single file
- * higher and lower resolution fonts are available
This file was created with my tool svgFont2scad, which takes care of all the transcoding, bezier curves, compression etc. I plan to release it later this year (currently in PHP, but I want to port it to Python).
If you have fonts you would like to have converted: Just drop me a line!
The font you find here is called Designer Block by K-Type (http://www.k-type.com/?p=296). It's free for personal use but K-Type require a paid license for commercial use.
Current limitations: Only ~64 characters at once.
Reason (Caution! Geeky stuff!): Since OpenSCAD does not support stateful variables, I use recursions within functions to store variables on the stack. So when entering too many characters, OpenSCAD will just go up in flames!
(Maybe someone should inform OpenSCAD's Clifford or Marius about this...)
Put the .scad file somewhere OpenSCAD can find it (e.g. your OpenScad/libraries directory or your project directory). Then just go like:
You can also specify size, height (thickness), spacing, alignment, e.g.