Created
November 29, 2011 14:57
-
-
Save jay3sh/1405079 to your computer and use it in GitHub Desktop.
Generate solids in shape of text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import math | |
sys.path.append('./src') | |
from cadmium import * | |
stlfname = sys.argv[1] | |
s = Text('Cadmium', | |
fontpath='DejaVuSerif.ttf', # Give full path on your system | |
height=5, | |
thickness=2) | |
s.toSTL(stlfname) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment