Skip to content

Simple OpenSCAD text library (with opt. pedestals for vertical and sheer text)

Notifications You must be signed in to change notification settings

suyashkumar/scad-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scad-text

Simple OpenSCAD library to add 3D text (with optional pedestal to print vertical or sheer text) to OpenSCAD models.

Usage

You must place place the scad_text.scad file in your current path and import it (using import <scad_text.scad>).

The following function is exposed: writeText(x, y, z, textIn, depth=4, size=5). This function draws the textIn string at the (x,y,z) coordinates with a depth of 4 units and at the specified size. Sample code is in example.scad and is copied below. A writeTextWithPedestal legacy function is exposed as well, which creates a pedestal/support under text at a fixed size.

include <scad_text.scad>
translate([0,6,0])cube(10, center=true);
writeTextWithPedestal(0,0,0, "SK");

Produces:

Foo

About

Simple OpenSCAD text library (with opt. pedestals for vertical and sheer text)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published