1 / 1
Low-Poly Font for OpenScad — image 1

Low-Poly Font for OpenScad

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

A simple, easy-to-use, easy-to-modify, easy-to-expand low-poly font presented as a single OpenScad module!

Rating
0 / 5
Likes
4
Downloads
41
Makes
0
Views
152
Reviews
0

Updated at source:

Model information

License
Creative Commons — Attribution

This module renders an upright string centered at [0,0,0]. 

The font is based on the usual 16-segment display font and produces a low-poly result that is FDM-printer-friendly.

You can use this font to engrave or emboss text into your 3D models.

TEXT(string, size=10, spacing=1.2, weight=undef, depth=-60, curvature=[0,0], front=0, back=0, $fn=12);
  • string : The string to render (without linebreaks).
  • size : The height of each character (the character width is hardcoded to be the size/sqrt(3)).
  • spacing : The distance between character centers is spacing*width (= spacing*size/sqrt(3)).
  • weight : The width of the stroke. If left undefined, it uses size/8 as default value.
  • depth : If positive, it is interpreted as the depth of the stroke. If negative, it is interpreted     as the angle (in degrees) formed between the stroke walls and the X-Y plane.
  • curvature : [1/Rxy, 1/Rxz] where Rxy is the radius of curvature of the text in the X-Y plane and Rxy is the radius of curvature of the text in the X-Z plane. The sign determines the bending direction, [0,0] means 'flat' and at least one of the components must be '0'.
  • front : Relative width of the front end of each character. Useful values: -1, 0, 0.5, 1 & 2.
  • back : Relative width of the back end of each character. Useful values: -1, 0, 0.5, 1 & 2.
  • $fn : Number of segments of the stroke corners.

Tags