Skip to main content


#OpenSCAD question:

if in wanted to emboss text around the outer rounded edge of a cylinder, how would I go about doing that? I don't know how to transform an object on a curve like that.

#3DPrinting

reshared this

in reply to Jonathan Lamothe

There is no general way to roll up a shape like that. All solutions for text on cylinder just position each character independently with a for loop over the string, so each one is still flat and it only really works with fixed width fonts.
in reply to Jonathan Lamothe

while I use #gmsh and not openscad, and I haven't been concerned with wrapping 3dised text particularly, I think there isn't an especially 'good' way of curving a previously flat plane viz 3D meshing. If this were generally doable the world would be crazy.
#gmsh
in reply to screwlisp

If each letter is separate, I guess you would just have each letter's separate normal be radial to the cylinder and dphi would basically just be the normal spacing between the letters.
in reply to screwlisp

@screwlisp There are some good ideas here: 3dprinting.stackexchange.com/q…
in reply to Jonathan Lamothe

The "Text_on" library?

3dprinting.stackexchange.com/q…

in reply to Jonathan Lamothe

Could you use path_text() from #BOSL2? github.com/BelfrySCAD/BOSL2/wi….
in reply to Jonathan Lamothe

Something that would solve this problem would be if the language supported a transform that would take a function as an input (either a name or some kind of lambda) that would take a set of coordinates as an input and return a modified set of coordinates. It would then apply this transformation to each vertex of its children.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.