MakerBot Font (parametric and variable-width!)




This thing is pretty obsolete, since modern OpenSCAD has the text() function, which does exactly what this does; and much more efficient at that.

Only use this if you are using an ancient version of OpenSCAD that does not have text() support, or if you are curious on how to do font metrics in a functional programming language ;-)



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!

Features:

  • * 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.

This thing supercedes previous fonts:
http://www.thingiverse.com/thing:19484
http://www.thingiverse.com/thing:6844

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...)