home

Text

2D 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

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_to_enter

Text Block. This can be a letter, word or line of text.

						
//!OpenSCAD
"abc";					
					

Set Length of Text

text_length

Returns the number of character (including spaces) inthe provided text.

						
//!OpenSCAD
len("abc");