Is there a tutorial for "bending" text to a cylinder surface?

Next
 From:  topu
5761.1 
Hi there,

I searched the forum and the tutorials for some instructions on how to project text on a cylinder but couldnĀ“t find a step-by-step solution.
There are some example-images like here: http://moi3d.com/forum/index.php?webtag=MOI&msg=5457.9 or here: http://moi3d.com/forum/index.php?webtag=MOI&msg=3922.7 - but how is it done?
(Tutorial No4 from Jesse Kaufmann has a broken link.)

Thank you very much!
Tobias
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5761.2 In reply to 5761.1 
Hi Tobias, in version 2.5 or version 3 there is a new "Flow" command which is the easiest way to do that.

The easiest way is probably to use "curve-to-curve" flow - that's where you will have a line below the text which will be the base curve and the target curve will be arc or a circle curves that has the same radius as your cylinder, see here for an example of that:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5097.2

For mapping directly onto a cylinder you can put a plane underneath the text and then use surface-to-surface Flow. For that case the location where you pick on each surface is important, see here for some previous examples:

http://moi3d.com/forum/index.php?webtag=MOI&msg=4795.10
http://moi3d.com/forum/index.php?webtag=MOI&msg=4363.124
http://moi3d.com/forum/index.php?webtag=MOI&msg=4363.65
http://moi3d.com/forum/index.php?webtag=MOI&msg=4442.24

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5761.3 In reply to 5761.1 
Check out here for a quick example video doing surface-to-surface flow:

http://www.screencast.com/t/3rzeZvqB9z



A few key things - note there is a plane (not just a rectangle, but a plane surface made with Draw solid > Plane) underneath the text.

Then select just the text (not the plane or the cylinder), and run Transform > Deform > Flow.

Pick the base plane and note that the pick spot is important - don't pick directly on the corner, more near the edge but towards one side of the edge. Then for the next pick onto the cylinder make sure to pick in an equivalent edge location there, that will control how things are oriented from one surface to the other.


The text will stretch to the bounds of the cylinder surface, in order to get the same proportion you will want to make a plane that has the same length as the circumference of the cylinder.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
5761.4 
Note that the Object to flow can be selected by Style (color) or name. (?)
The Base curve or Base surface must be selected by selecting a spot on the surface, not by color. Same for Target Surface, and curves.

I was wondering how many permutations there would be for a given set of FLOW curves and surfaces, (not counting project, flip, and rigid ).?
Is there some formula?

Given text to be flowed, which is non symmetric, a rectangular Base surface, and a rectangular or cylindrical Target surface,
say some formula like:

? Number of different flow results = (number of Base surface edges) * (number of Target surface edges) * X ?
? # = 4 * 4 = 16 ?

If so, is there any advantage in some way to select one of the orientations by say checkbox, or to have shadows of the results..., rather than trial and
error to get the desired final result?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5761.5 In reply to 5761.4 
Hi Brian,

> ? Number of different flow results = (number of Base surface edges) * (number of Target surface edges) * X ?
> ? # = 4 * 4 = 16 ?

There are a bunch of duplicates in that listing, I think it's 4 different possible rotations with each rotational position being possibly diagonally mirrored or not, so 8 different possibilities.



> rather than trial and error to get the desired final result?

That's actually why it is controlled by the pick location, so that you can control it directly with your pick rather than going into some dropdown and using trial and error going through 8 different possible choices.

I've been thinking about adding a mirror (basically exchange u and v directions) as another option so you could correct the case of when you have clicked right in the corner of each surface which then does not control the mirroring very well. When you pick you don't want to pick directly on the corner itself, more like on one edge somewhat near the end of the edge but not right directly at the end since when you're on the corner you're actually on 2 edges at the same time.

So like one of these 8 red spots here:




- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
5761.6 In reply to 5761.5 
Thank you Michael for your explanation.


For my own education, I tried 8 flows with non-Rigid, from the center planar rectangle with the same selection point, to 8 catenary curved surfaces, with the
selection point in an oval. Four came out as "rotations." The other four came out as "rotated mirror reflectons."
Holding a printout up to a mirror shows this as well.

Similarly I tried 8 flows with Rigid selected, and the same selection points. Similarly 4 were "rotations."
The other 4 were "non-mirror," with letters shifted "out of alignment."
EDIT: the shifted letters are corrected by Flip surface normals, so things are more complicated....





EDITED: 13 Mar 2013 by BEMFARMER


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5761.7 In reply to 5761.6 
Hi Brian, yeah that's right, in addition to the rotation and u/v mirroring the mapping of surface normal to surface normal can also come into play. That one does not have any effect in several cases though like if you are flowing curves that are only right on the surface, or objects that stick halfway out on both sides of the surface. But if stuff pokes out just to one side then if the default normals does not do what you want the "Flip surface normal" checkbox can be used to correct that one.

Hmmm, now that I read your post more carefully I see that you're getting slightly different behavior with the "rigid" option enabled, that happens with your text because the rigid option takes the bounding box around each individual object and basically only flows the center point of that box from the base to the target, then does a move + rotate of the object to align the base position with the target position. With your text, the bounding box of each object is a little different, that's why you will see those results. The rigid option would have more uniform behavior when you have some array of a bunch of duplicated objects and you're trying to put that pattern onto a shape without any distortion.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
5761.8 In reply to 5761.7 
Thank you. :-)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All