Curved text-letters

I need to "write" a text upon the cylinder's surface in the Z-axis direction.
I tried the following simple script:
***
c1 = circle radius:2.0
me = extrude amount:0.01
mpde = PathDeform path:c1
mpde.rotation = 90.0
mpde.axis = 1 -- y
mpde.Percent_along_path = 0.0
t1 = text font:"Arial" \
size:4.0 \
text:"ABCDEFGHIJKLMNOPQRSTUWXYZ" \
pos:[0.0,0.0,-1.0] \
wirecolor:green
addModifier t1 me
addModifier t1 mpde
move t1 [2.0 + 0.05,0.0,5.0]
***

The straight vertical component of the letters, like A,B,D,F,I,H ... (segment that starts from the bottom to the top) remains straight in the X-axis.
The "round" letters like C,O,Q..., take the right curvature along the X-axis.

What to do?
Thanks.

Amelia

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
masquerade's picture

you are welcome. glad that I

you are welcome. glad that I could help.

masquerade's picture

thats because there isnt

thats because there isnt enough polygon on that areas. if it is not curved, text tool makes that spline a corner.

you can add a subdivide modifier below. here:

 

c1 = circle radius:2.0
me = extrude amount:0.01
mpde = PathDeform path:c1
mpde.rotation = 90.0
mpde.axis = 1 -- y
mpde.Percent_along_path = 0.0
t1 = text font:"Arial" \
size:4.0 \
text:"ABCDEFGHIJKLMNOPQRSTUWXYZ" \
pos:[0.0,0.0,-1.0] \
wirecolor:green

addModifier t1 me
---------------------------
subd = subdivide manualupdate:1
addmodifier t1 subd
t1.modifiers[1].size=0.2
--------------------------
addModifier t1 mpde
move t1 [2.0 + 0.05,0.0,5.0]

 

amelia's picture

The final that is OK: *** c1

The final that is OK:
***
c1 = circle radius:2.0
me = extrude amount:0.1
mpde = PathDeform path:c1
mpde.rotation = 90.0
mpde.axis = 1 -- y
mpde.Percent_along_path = 0.0
t1 = text font:"Arial" \
size:4.0 \
---------my new add ------
optimize:false \
steps:4 \
--------------------------
text:"ABCDEFGHIJKLMNOPQRSTUWXYZ" \
pos:[0.0,0.0,-1.0] \
wirecolor:green

addModifier t1 me
------masquerade add -----
subd = subdivide manualupdate:1
addmodifier t1 subd
t1.modifiers[1].size=0.2
--------------------------
addModifier t1 mpde
move t1 [2.0 + 0.05,0.0,5.0]
***

Thanks masquerade.

amelia

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.