This tag is for questions related to the tikz-3dplot package for enhancing the TikZ coordinate system to 3D.
Questions tagged [tikz-3dplot]
509 questions
19
votes
3 answers
How can I draw dashed lines of this picture?
I am trying to draw this picture
I tried
\documentclass[border=2mm,tikz]{standalone}
\usepackage{tikz-3dplot}
\usetikzlibrary{3dtools}
\tikzset{intersection of line trough/.code args={#1 and #2 with plane containing #3 and normal #4}{%
…
minhthien_2016
- 9,467
10
votes
1 answer
How can I draw sphere cut by plane by using `tikz-3dplot`?
Based on the equation at here, I use another way to draw. My code
\documentclass[border=2mm,12pt,tikz]{standalone}
\usepackage{tikz-3dplot-circleofsphere}
\usepackage{fouriernc}
\makeatletter
\tikzset{
reuse…
minhthien_2016
- 9,467
10
votes
3 answers
How can I draw the triangle tangent to sphere?
I am trying to draw figure of the Problem 21 https://artofproblemsolving.com/wiki/index.php/2019_AMC_10A_Problems/Problem_21
A sphere with center $O$ has radius 6. A triangle with sides of length $15$, $15$, and $24$ is situated in space so that…
Thuy Nguyen
- 990
10
votes
3 answers
How can I draw the circle is inscribed in triangle in 3D?
I am trying to draw an inscribed circle of a triangle in 3D. If the vertices lie on the plane Oxy, I tried
\documentclass[12pt, border = 1mm,tikz]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{123}
…
minhthien_2016
- 9,467
9
votes
4 answers
How to draw this cube with holes?
I am trying to draw this cube
I tried
\documentclass[tikz,border=3mm]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{60}{120}
\begin{tikzpicture}[tdplot_main_coords,declare function={a=3;
}]
\path…
John Paul Peter
- 1,623
8
votes
2 answers
How can I get full line of circle of this picture?
Based on my question at here How to draw dashed arc of a circle behind pyramid?
I tried
\documentclass[border=2 mm,12pt,tikz]{standalone}
\usepackage{tikz,tikz-3dplot}
\usepackage{tkz-euclide}
…
minhthien_2016
- 9,467
7
votes
3 answers
How can I repair Dimension too large of the point S in this code?
I am trying to draw Heronian Tetrahedron at http://mathworld.wolfram.com/HeronianTetrahedron.html. I cannot get the exact results with the message "Dimension too large" of the point S. How can I get the correct result?
\documentclass[tikz,border=2…
minhthien_2016
- 9,467
7
votes
2 answers
How to draw a cube that can be inscribed within a right circular cone?
I am trying to draw a cube that can be inscribed within a right circular cone (cone of radius r and perpendicular height h). I see at here https://www.geeksforgeeks.org/largest-cube-that-can-be-inscribed-within-a-right-circular-cone/ I can find…
Thuy Nguyen
- 990
7
votes
3 answers
How to draw a square on cylinder?
Let be a cylinder with radius of the base circle is equal to 3 and the altitude of the cylinder is equal to 2. How can I draw square ABCD so that A, B and C, D lie on two base circles. I…
Thuy Nguyen
- 990
7
votes
2 answers
How to draw dashed arc of a circle behind pyramid?
I am trying to draw like this picture
I tried
\documentclass[border=2 mm,12pt]{standalone}
\usepackage{fouriernc}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{180}
…
minhthien_2016
- 9,467
7
votes
1 answer
How can I draw cylinder inside a sphere like this picture with Tikz?
I am trying to draw a cylinder inside a sphere like this picture
I…
minhthien_2016
- 9,467
7
votes
1 answer
Draw a 3D sphere with radius with TikZ?
Draw a sphere with radius with TikZ. According to the figure
casio
- 359
7
votes
1 answer
Drawing a shaded hemisphere using tikz?
I want to draw a shaded hemisphere using tikz. The final result should look like this (the lower part of the sphere should be removed):
Until now I have this…
Vertexwahn
- 343
- 2
- 7
6
votes
3 answers
Can I general this code to draw a regular polyhedron?
In this code, I draw a regular polyhedron whose base is an equilateral triangle.
\documentclass[tikz,border=3mm]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{100}
…
John Paul Peter
- 1,623
6
votes
2 answers
How to draw this pictures from Mathematica?
I see
this pictures
The second picture is drawn with one line by Mathematica.
I tried
\documentclass[tikz,border=3mm]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{220}
\begin{tikzpicture}…
John Paul Peter
- 1,623