Rotate a vector

What are step by step to rotate, in all possible ways, a vector around its axis (vector direction) to have a three-dimensional effect? For example if I have the vector -F of the figure (b) and I should draw it with AI on `xy` plane what should I do?

• Illustrator is just a poor tool whenever the Z axis comes into play. I can't recommend anything else (Man I miss Adobe Dimensions). But realize that within Illustrator the 3D effect is the only place that will actually do anything with a z-axis and that effect is 20 years old and never been updated. May 17, 2017 at 16:36

Keep in mind that data inside illustrator is allways flat. So even if you rotate stuff it only appears like rotating a plane.

Effect → 3D → rotate is quite good for doing rotations (just not necessarily easy due to the way Euler angle rotations work and the chosen rotation order*). Its just that the GUI of the effect is pretty useless for precision work. The other option is to use SSR (Scale Skew Rotate) methods to put the object in position you like. This is actually a circumvention scheme for the fact that you can not directly set the transformation matrix via the gui. But alas SSR does not allow for perspective to work out.

You can always build your own rotations. But explaining all methods would be a bit time consuming as you can easily have a multi year university course one the subject.

* it would be more beneficial for it to be xyz in matrix multiplication order instead of zyx

• Could you please make examples with screenshots editing your answer I certainly voted? I think you have understood that I am of Italian origin and I find it difficult to understand the meaning of your answer. May 17, 2017 at 20:10

Option 1. Draw your vectors as revolved 3D objects. See the following cartoon:

The same can be used also for many other ojects than the vectors. Explore also

• Effect > 3D > Extrude & Bevel
• Effects > 3D > Rotate (for planar or nearly planar objects only)
• How to map planar shapes or photos onto the surfaces of a 3D object. ( = drag them to the Symbols panel for use in mappings, note the Map Art button in the 3D effect dialog)

Combining several 3D objects into the same illustration is no problem if you have consistent light and viewing angle settings for all. The combination work is normal composing of plane objects.

Option 2. Draw them in 2D as 3D shapes with no shading, only the lines and curves. The smart quides make everything easy to fit.

The following cartoon assumes that no fill color is needed for the arrowheads. If the fill is a must, you should draw the arrowhead in 1 as a triangle. The ellipse, when filled, covers one side of the triangle.

1 and 5: Draw an ellipse, arrowhead and the bodyline of the vector. Have the smart quides and the snapping to point ON. No snap to grid! Have rounded stroke ends for fitting with no gaps

2: drag the ellipse and the arrowhead together. After that move the arrowhead a little upwards by ticking the arrow key. That makes the fitting better due the thickness of the stroke.

3: move the vector bodyline to its place and stretch to good length

4 and 8: Rotate to the wanted angle

6: take the direct selection tool. Click onto the lower half of the ellipse and press DEL

7: Drag the parts to their places. They should snap perfectly. Join the half ellipse and the arrowhead (Ctrl+J) to a closed shape if you need a fill color.

There's allways a place for some rational thinking. The simplest open-back arrowheads are well recognizable. If there are also some other glues for the directions of the vectors, the flashy 3D appearance adds no expressive power nor mathematical depth. Worse, if you illustrate your own texts, somebody can think that you have too much time for this job.

If you ignore thislike talks and really start using 3d-like vectors, have a collection sheet that has copies of all your vectors, the revolved ones as editable (=not expanded) and those drawn in 2D as groups to keep the parts together.

• Thanks a lot lot for your answer. My question is bad? Nobody has voted my question. I was informed that vectors were created with adobe illustrator. But is there another program like AI that has better features (no InkScape and Gimp)? May 17, 2017 at 20:07
• @Sebastiano An opinion. Ai is the top if you want to keep it 2D, but add occasionally something as 3D revolutions or extrudes. If you draw in 2D, then Ai still is top, but Inkscape, Corel Draw and even Microsoft Visio make some single things more comfortably. Beware Affinity Designer. It needs bitmap drawing to complement the poor general abilities. 3D CADs make complex 3D drawings , but they do not excel in adding color and texts. Many people compose their scenario in 3D CAD (or arty 3D modeller) but take it as 2D to Ai or others for finalizing. I just tested TurboCAD 3D in this. May 17, 2017 at 21:23
• @Sebastiano Your question must be read 2...3 times before one understands that the green arrow is not the rotation you want. That arrow is so strong and most of us surely do not expect the symbols be rendered perfectly as 3D objects. May 17, 2017 at 21:34