Around the Corner Text


  This project demonstrates how to use OpenSCAD to create 3D models with text labels that wrap around a corner.   While OpenSCAD does not currently support obtaining the width of a label via font metrics (common to Java and other programming languages), the text width and height are constrainable via the resize() module.

OpenSCAD resize() Module

The OpenSCAD resize() module is used to (you guessed it) resize a component to the specified X, Y, and Z values passed to it.

Here is sample usage:

This Github commit shows how resize() is used to constrain the width and height of a text() label to the known width and height of a cube().


Date Created: 2017-02-08 00:17:34 -0600 (Wed, 08 Feb 2017)

back    |    top