MakerBot Font (parametric and variable-width!)
by hotkey, published
This is the ultimate MakerBot Font for OpenSCAD!
Now tagging and <i><b>versioning</b></i> (!) your OpenSCAD models is as easy as writing <i>label("v1.0")</i>. Give it a try! Just put an ID on every print and never lose track of your rapid prototyping evolution!
Features:<ul> <li> variable-width characters (eeeevil OpenSCAD hack!)</li> <li> using new OpenSCAD string-functions (no more array <i>["m", "a", "d", "n", "e", "s", "s"]</i>)</li> <li> font metrics</li> <li> text alignment functions</li> <li> self-contained in one single file</li> <li> higher and lower resolution fonts are available</li> </ul>
This file was created with my tool <b>svgFont2scad</b>, 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 <i>Designer Block</i> 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.
<b>Current limitations</b>: Only ~64 characters at once. <b>Reason</b> (Caution! Geeky stuff!): Since OpenSCAD does not support stateful variables, I use recursions within functions to store variables on the stack. So <b>when entering too many characters, OpenSCAD will just go up in flames!</b> (Maybe someone should inform OpenSCAD's Clifford or Marius about this...)
Recent Commentsview all
Liked Byview all
Give a Shout Out
Put the .scad file somewhere OpenSCAD can find it (e.g. your OpenScad/libraries directory or your project directory). Then just go like:
<code> use <font_DesignerBlock_med.scad> label("Test"); </code>
You can also specify size, height (thickness), spacing, alignment, e.g. label("Left", align="L"); label("Right", align="R"); label("Big", size=100); label("Long", height=100);