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.

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