Text
2D Text
Create 2D text.
//!OpenSCAD
// size is multiplied by 0.75 because openScad
// fonts size is in points, not pixels
text("abc", font = "Roboto", size = 10* 0.75);
3D Text
Create 3D text.
//!OpenSCAD
// size is multiplied by 0.75 because openScad
// fonts size is in points, not pixels
linear_extrude( height=2, twist=0, center=false){
text("abc", font = "Roboto", size = 10*0.75);
}
Enter Text
Text Block. This can be a letter, word or line of text.
//!OpenSCAD
"abc";
Set Length of Text
Returns the number of character (including spaces) inthe provided text.
//!OpenSCAD
len("abc");