The attached SCAD code can generate a cube from up to 4 letters. You might need to adjust the “sz” value for wider letters such as W.