https://github.com/suyashkumar/scad-text
Simple OpenSCAD text library (with opt. pedestals for vertical and sheer text)
https://github.com/suyashkumar/scad-text
Last synced: 7 months ago
JSON representation
Simple OpenSCAD text library (with opt. pedestals for vertical and sheer text)
- Host: GitHub
- URL: https://github.com/suyashkumar/scad-text
- Owner: suyashkumar
- Created: 2016-05-21T18:10:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T01:27:29.000Z (over 2 years ago)
- Last Synced: 2025-04-04T20:37:08.292Z (over 1 year ago)
- Language: OpenSCAD
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 `).
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.
```OpenSCAD
include
translate([0,6,0])cube(10, center=true);
writeTextWithPedestal(0,0,0, "SK");
```
Produces:
[](https://github.com/suyashkumar/scad-text/blob/master/example/example.stl)