<p>I want to put relief text on curved surface but can't find way to do that in OpenSCAD. I'm aware it's possible to bend text in Blender and then <code>import stl</code>, but I don't like this workflow. I found sort of working solution but it's not perfect.</p>
<pre><code>$fn=50;

module bend_text(caption, angle, text_height, text_width, text_depth, steps=10, k=1) {
    dh = text_height / steps;
    r = text_height / (angle * PI / 180);
    h0 = - text_height / 2;
    translate([0, 0, -r])
    rotate([angle / 2, 0, 0])
    for(i=[0:steps-1]) {
        rotate([-i * angle/steps, 0, 0])
        translate([0, -(dh * i + h0), r / k])
        intersection() {
            linear_extrude(text_depth) 
                text(caption, valign=&quot;center&quot;, halign=&quot;center&quot;);
            translate([0, dh * i + h0, 0]) 
                cube([text_width, dh, text_width], center=true);
        }
    }
}

bend_text(&quot;test&quot;, angle=90, text_height=9, text_width=30, text_depth=1, steps=10, k=1.1);
</code></pre>
<p><a href="https://i.stack.imgur.com/0zq1h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0zq1h.png" alt="test" /></a></p>
<p>Is there better way?</p>

[{'answer_id': 19364, 'author': 'Criggie', 'author_id': 12956, 'author_profile': 'https://3dprinting.stackexchange.com/users/12956', 'pm_score': 3, 'selected': True, 'text': "<p>Yes - you should be able to turn the extruder by hand when it is unplugged and therefore not powered.</p>\n<p>The V2 comes with a blue plastic knob for this purpose, it may be too small to turn the shaft by hand.</p>\n<p>When powered and &quot;steppers enabled&quot; the motors need a lot more force to overcome, but even that can be done by hand or a machine crash.</p>\n<p>If you can't turn the extruder at all, its probably toast.   That you've tested other ports on the board is excellent problem solving.</p>\n<p>Whatever damaged the motor has likely damaged the board too, or vise versa.</p>\n<p>You likely need both parts replaced to get this printer working again.   Could be expensive - you might want to compare cost of parts with cost of a new printer, remembering there may be other non-functional components still undiscovered.</p>\n<p>Plausibly, with a dead extruder, you could slap a laser on this unit and make it a dedicated burner.  The creality laser module is around $50 USD.</p>\n"}, {'answer_id': 19366, 'author': 'R.. GitHub STOP HELPING ICE', 'author_id': 11157, 'author_profile': 'https://3dprinting.stackexchange.com/users/11157', 'pm_score': 1, 'selected': False, 'text': "<p>Criggie's answer is basically correct, but I disagree with the conclusion that it:</p>\n<blockquote>\n<p>Could be expensive - you might want to compare cost of parts with cost of a new printer, remembering there may be other non-functional components still undiscovered.</p>\n</blockquote>\n<p>If you want to turn the Ender 3 into a decent printer, the controller board is one of the components you want to replace anyway, since it comes with either (old models) extremely loud and poorly performing A4988 stepper drivers or (newer models) TMC2208 stepper drivers hard-wired in a mode where they don't work well and malfunction if you enable Linear Advance (which is critical to getting decent prints on a bowden extruder system). Good boardsthat are exact fits for the housing and cable connectors, with TMC2209 steppers that lack the above problems, can be had for $35 or so.</p>\n<p>If the motor is dead, that's a pain but not expensive to replace. Equivalent motors are available for $15 or so all over the place, or you could make the upgrade to a light-weight geared direct drive extruder with pancake stepper instead of the large NEMA 17 (which negates pretty much all of the disadvantages of direct drive and gives you a much better printer than you started with).</p>\n"}]
['https://3dprinting.stackexchange.com/questions/19380', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/34129/']