Make something
Email yourself a 10% off coupon
Send
Coupon sent! Check your email
This will be 3D printed near you and delivered to your door by May 02
Loading

An OpenSCAD module for writing variable-width text. Download Spiff.scad and spiffsans.scad, then see the Instructions for how to use this in your own works (or use poorman-spiff to generate a copy-pasteable demo). Spiff.scad on GitHub Spiff.scad requires at least OpenSCAD 2013.06, as it uses module recursion to calculate variable glyph widths. If you're stuck on an older version of OpenSCAD, you can still generate the equivalent code for writing text using poorman-spiff. Due to OpenSCAD's recursion limit, you may encounter problems writing longer strings. If this happens, try breaking your write call up into multiple calls with shorter strings. Note that, while this is listed as a derivative of Write.scad, it is not derivative code, and is almost completely incompatible (they're almost compatible in the sense that they both write text, but that's it).Draws a group of 2D polygons for the given string, using the given font (see section on Fonts, below). Glyphs are spaced apart by the value of the third "spacing" parameter (1 unit by default). By default, if no font is specified, Spiff Sans will be used. (spiffsans.scad should be included in the same directory as Spiff.scad.) These 2D polygons can be transformed in 3D space using the regular OpenSCAD transformations in combination with linear_extrude. See spiff-examples for more examples of Spiff.scad in use. See the readme on GitHub for documentation of the font structure used by Spiff.scad. Converters for various font formats to this font representation are being developed at https://github.com/stuartpb/spaggers .

Spiff.scad
Please wait while we prepare the order
$ 0.00 + free delivery
Sorry we had trouble getting the 3D files. Download them yourself and upload them here to place an order.
View files
  • 0 inches x 0 inches x 0 inches
  • this product is 3D printed
  • 16 available colors
  • material is a strong plastic
  • free delivery by May 02
  • 0 parts
Delivery address
This field is required.
This field is required.
Please enter a valid email.
This field is required.
This field is required.
This field is required.
This field is required.
This field is required.
Pay with credit card or debit card
or pay with
Place order
Order summary
Spiff.scad
Color:
Quantity:
Subtotal
$
Delivery (May 01 - May 03)
Free
Total
$