by HarlanDMii, published
UPDATED: 03/06/2013 Added Help file for creating fonts.
I have looked everywhere for an easy way to write on my 3d objects. Everything I could find was hard to manipulate, so I decided to give it a shot myself. Hope you like this as much as I do. I'll try to answer any questions you have.
letters.dxf (change in write.scad)
writecylinder specs in testwritecylinder.scad
Be glad to add more fonts if requested, or give details to make your own.
Recent Commentsview all
The correction on the github sight is correct. Can't believe I hadn't noticed it. Thanks hindessm :)
The count loop starts at 0, so it should only count from 0 to Numberofletters -1
Oh, the GitHub version is not the canonical one, I just mirror the Thingiverse releases there so I can easily integrate them into my things.
Nevertheless, HarlanDMii, you most probably understand the code best, could you have a look if https://github.com/rohieb/Writ... makes sense to you?
finally I posted a "working" version.
Liked Byview all
Give a Shout Out
Put the files (write.scad) and (letters.dfx) in
the working directory with your open scad project.
refrence write.scad in your code...(use)
NOTE: write.scad contains write(),writesphere(),writecube() and writecylinder() modules
// write anywhere in your openscad project
// change fonts and spacing
// write on a cube
// write on a sphere
// write on a cylinder
writecylinder("Text on Cylinder",[0,0,0],20,40,rotate=45,center=true);
writecylinder("Text on top",[0,0,0],20,40,face="top",center=true);
//detailed usage in testwritecylinder.scad
//be sure to download the latest write.scad to use the new commands
// write in circles
You are welcome to use and distribute this code freely. no need to make it a derivative of write.scad
Check back every once in a while for additions.
If you make something really cool that uses it, let me know. I want to see :)
HAVE FUN WITH IT, and comments are always appreciated.
You must be logged in to post a comment.