Draft Angle on Embossed Text
I'd trying to make a form in OpenSCAD for casting a metal address plaque. Part of the plaque needs to contain embossed text, the house number, with a slight draft angle to allow the form to be removed from the casting sand. That is, the top of the text needs to be slightly smaller than the bottom.
I thought I could just use linear_extrude with a scale value slightly smaller than 1.0 to achieve this but I'm running into issues. The scale value tapers the entire text string toward the middle. The text on the left is tapered to the right and the text on the right is tapered towards the left.
Minimal Example:
linear_extrude( height=10, scale = .8)
text("X",
size=50,
halign = "center",
valign = "center");
translate([0, 100, 0])
linear_extrude( height=10, scale = .8 )
text("X X",
size=50,
halign = "center",
valign = "center");
Is there any way to linear_extrude each character with a scale? Is this even the correct work flow?
Posted Jun 3, 2021, 5:34 AM UTC
I'm interested in seeing other answers, but one quick and dirty way you could do it is draw the text multiple times using offset each time. Something like this:
your offset method works really well
//edit: fixed the translate step height
//edit: and the angle calc
Looks good. Now we just need to merge this in with the multi-line code and we'll have one sexy-texty-module :)
Edit: Here-
oh god. how many hours does that take to render?
I didn't try, the preview is quick enough to play around with but yeah, I wouldn't want to actually use this in anything
Just came across this - https://www.thingiverse.com/thing:3094095
Looks like it'll do what you want
Oh, that might be it. I'll have to check when I get home from work.