Linked Questions

73
votes
3answers
43k views

3D bodies in TikZ

Is there like a library that has default geometric figures like the ones shown below. Am not acquainted yet with 3D diagrams in TikZ.
39
votes
4answers
11k views

How to typeset moon phase symbols?

I would like to add moon phase symbols to a document of mine but could not find a visually pleasing way to do this. Does anyone know how to typeset aesthetic moon phase symbols?
30
votes
2answers
11k views

Tikz:: shift and rotate in 3d?

I would like to translate (Tx,Ty,Tz) and rotate (roll,pitch,yaw) in 3D space an object defined in scope similar to the same way we can do in 2D space as below: \begin{scope}[shift={(7,9)},rotate=30] %...
27
votes
2answers
15k views

Drawing a circle on a non xy-plane with TikZ

Say I'm drawing a 3D picture. Now I would like to draw a circle, perspectively correct, on the yz-plane, but TikZ does not seem to be capable of this. All one can do is drawing circles on the xy-plane....
16
votes
3answers
5k views

Drawing Axis Grid in 3D with Custom Unit Vectors

I am trying to adjust the unit vectors for each of the axis, and draw a coordinate grid. I can get it to work without specifying the unit vectors, of specifying it as: x={(1.0cm,0.0cm)}, y={(0.0cm,1....
12
votes
1answer
2k views

Efficient way to partially fill a cylinder?

I am new to tikz and am using it to draw cylinders. I understand how to invoke cylinder body fill to completely fill one, but I also need some cylinders that are only shaded to a certain height. Is ...
10
votes
1answer
2k views

Drawing a motor shaft in TikZ

I'd like to create a picture like the one with TikZ: I've already created the electrical part using circuitikz. I'd like to add the part on the right (the motor's shaft with arrows), but don't know ...
10
votes
3answers
338 views

Different dimensions with shift and xshift

I discovered that there is a different default dimension in shift and xshift. Consider the following mwe \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (a) at ...
10
votes
3answers
4k views

Is it possible to draw a 3d cylinder using TikZ-3dplot?

I want to draw a clyinder between two planes. I want to specify the distance between the planes and position and radius of the cylinder. I would like to use tikz-3dplot, because it allows a free ...
10
votes
2answers
776 views

Tikz weird 3D look

I've got a slight problem with the way TikZ draws my 3D figure. The edges of the top and bottom of the cylinder in the picture don't seem to match correctly even though I don't think I made a mistake. ...
9
votes
3answers
2k views

Drawing complicated 3D designs within TikZ

I've checked the community and analyzed, already, the related questions(here, here, here, here an so on) about this case. All of the aforementioned cases are from the group of the 3D designs, have ...
8
votes
2answers
10k views

Drawing 3D cylinder

I need to draw a lot of 3D cylinders with different dimensions. Has anyone maybe already defined a command like \3Dcylinder{x}{y}{z}? I found 3D bodies in TikZ and tried the third answer. But I don't ...
6
votes
1answer
2k views

How can I create simple 3D models?

I would like to reproduce the following image, but in addition labelled with "Wheelbase $w$" and "Track $t$". (Wikipedia image source) I've tried my best with pst-solides3d, but the result is much ...
6
votes
0answers
758 views

How to draw a 3d cylinder using TikZ-3dplot? [duplicate]

I'm trying to draw a 3d cylinder using TikZ-3dplot, but the cylinder walls are not aligned properly (as you can see in the image). Does anybody knows what am I doing wrong? \documentclass{article} \...
5
votes
2answers
254 views

How does tikz parse the coordinates surrounded by brackets like (2cm, 1cm)

I have a question about the coordinates in tikz: when I set the style of a node by shift={(1, 1)}, what happens and how are the coordinates parsed into corresponding offset applied to each point of ...

15 30 50 per page