29 questions linked to/from Drawing simple 3D cylinders in TikZ
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} \...
241 views

### Simple 3d shapes in LaTeX [duplicate]

I want to create simple 3d shapes, cubes, cones, cylinders, etc. Which package is optimal for this operation? I have used tikz before, but I do not know how to use it for 3d images. Any recommended ...
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.
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?
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] %...
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....
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
1k views

### Drawing circles on a 3D Plane

I have this steel plate, and I want to put a circle on it so that the circle lies in the "horizontal" plane of the plate: % vim: ft=tex \RequirePackage{luatex85,shellesc} \documentclass[tikz]{...
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 ...
1k views

### drawing a circle in the xy plane when using 3d coordinates

I am trying to make a circle in the xy plane that has walls that slope up. How can I do this? Basically a bucket with a bigger opening then base. \documentclass{article} \usepackage{tikz, tikz-...
140 views

### TikZ: Advantage of position values attached with a unit?

Regarding TikZ-images: When should I type positioning values attached with a unit (e.g. \draw (0cm, 0cm)...) and when should I type them without a unit (e.g. simply \draw (0, 0)...)? Minimum Working ...
402 views

### Coordinates unit in pt although default is cm in TikZ

As we know that in TikZ, if unit is not mentioned in the coordinate in TikZ, it takes cm by default. When I extract the coordinates, I was expecting the unit as cm. But TikZ shows the unit in the ...
423 views

### Find cylinder tangent in 3D

I am trying to draw a complicated form that is loosely based on a half cylinder. I am using tikz-3dplot to be able to accurately draw arcs in planes other than the xy-plane and to nicely set the ...
135 views

### TikZ: Define 3D coordinate axes for the space pyramid (tetrahedron)

How can I specify such coordinate axes? So then, e.g. A(0,0,0) or C(a, a, 0). What is the angle between the x and y axes? Yes, I am frankly just wondering. Probably not simply 30 °; it is something ...
91 views

### Why is a tikz node's minimum width not beholden to the x scale?

I'm trying to create kind of a timeline picture where I have a set "width" of 230 and everything renders according to that width. For example, if I say a node has a width of 115 then it should be half ...
63 views

### Making a checkerboard with foreach

Why are these two diagrams different? \documentclass{amsart} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{tikz} \usetikzlibrary{calc,intersections} \begin{document} \begin{tikzpicture} \...
101 views

### Getting started drawing basic 3D objects with TikZ [closed]

Is it possible to draw this with TikZ (or perhaps a similar package related to postscript, metapost, SVG, etc.)? Sorry, I don't have much to offer this time. I usually like to provide a bunch of code ...
58 views

### tikz-3dplot accumulates the transformation every time let operator is used

In follow up to my previous question, I now have the following problem with the tikz-3dplot library. Every time I use the "let" operator, the transformation matrix seems to act again on the coordinate ...
50 views

### tikz arithmetic with numbers and lengths

Consider this example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \def\starty{3} \def\length{1}; \coordinate(a1) at (1, \starty); \...