Math & Science ⇒ Vacuum Symbols
Vacuum Symbols
i would like to draw a vacuum schematic of a scientific apparatus (please see below for an example) and i would like to use TikZ in a electric ciruit manner.
Since i am not good in programming at all, I would like to ask you if it is possible to create a package with vacuum symbols. That would be a very nice thing to have, since the scientific community is lacking such a free software package badly!
you can find the vacuum symbols here:
http://www.fe.infn.it/~barion/docs/vacu ... um_symbols
and
http://is.muni.cz/el/1431/jaro2006/F416 ... df?lang=en
Please let me know if it is possible and if i can contribute in developing the package (with my limited knowledge in developing).
Thank you very much!
Best Regards
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Vacuum Symbols
I made a bit of advertisement. If people like the idea, we will get feedback. Personally, i like the idea of having those symbols to use easily, i might need them in the future myself.
Once enough people state the need, i guess somebody will take it as a pet-project

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Vacuum Symbols
It should not bee hard. Circular nodes with text, rectangular nodes, valves are also not hard and could be a
pic
object. Once you got the nodes/shapes, you could place them into a matrix and connect by edges. Edges can have a node like a valve in the middle. A valve can be easily drawn as pic or take a \lrtimes
symbol of txfonts
or rxfonts
.Just quick ideas for now.
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Vacuum Symbols
coordinate
) and just triangular arrows point to ist... 
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Vacuum Symbols
Code: Select all
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta}
\tikzset{
box/.style = { rectangle, rounded corners, draw},
valve/.style = {-{Triangle[fill=white,width=1em,
length=1em]Triangle[fill=white,width=1em,length=1em,reversed]}},
}
\begin{document}
\begin{tikzpicture}
\node [box] (reservoir) {Reservoir};
\node [circle, draw, below = 9ex of reservoir] (D) {D};
\coordinate [above left = 4ex and 4ex of reservoir] (left1);
\coordinate [below left = 4ex and 4ex of reservoir] (left3);
\coordinate [left = 8ex of left1] (left2);
\coordinate [left = 8ex of left3] (left4);
\coordinate [above left = 4ex and 4ex of reservoir] (valve1);
\draw (reservoir) -- (reservoir-|left1) -- (left1)
(reservoir) -- (reservoir-|left3) -- (left3)
(reservoir) -- (D);
\draw [valve] (left1) -- (left2);
\draw [valve] (left3) -- (left4);
\end{tikzpicture}
\end{document}
Re: Vacuum Symbols

@Stefan_K, if you could also provide a template for a turbomolecular pump, so i could work to modify it, that would be very nice


have a nice one
Vacuum Symbols
here's an idea:thinkpadT wrote:@Stefan_K, if you could also provide a template for a turbomolecular pump, so i could work to modify it, that would be very nice![]()
![]()
Code: Select all
\documentclass{article}
\usepackage{tikz}
\newlength\rc% the circle's radius
\setlength\rc{5mm}
\begin{document}
\begin{tikzpicture}[>=latex]
\setlength\rc{3cm}%
% the circle:
\draw (0,0) circle(\rc);
% equilateral triangle with its tips touching the circle:
\draw[help lines, green] (0,\rc)% from the circle's topmost point
-- +(240:1.732\rc)% 30° west of south
-- +(300:1.732\rc)% 30° east of south
-- cycle;% 1.732: sqrt(3) * r
% the circle's radius from the triangle's lower left tip:
\draw[help lines, green!70!black] (0,\rc) +(240:1.732\rc) -- (0,0) node[midway, above=-2pt, sloped]{$r$};
% the circle's centre point cuts the equilateral triangle's height 2:1
% 2 parts for the outer circle's radius (the one connecting the tips),
% 1 part for the inner circle's radius (the one not shown touching the triangle's lines)
\draw[help lines, green!70!black] (0,0) -- (0,-0.5\rc) node[midway, right=-2pt]{$\frac{r}{2}$};
\draw[help lines, green!90!black] (0,0) -- (0,\rc) node[midway, right=-2pt]{$r$};
% To open up the `V' (which is upside down here), I suggest adding another length of r/2:
\draw[help lines, cyan] (0,\rc) -- (0,1.5\rc) node[midway, right=-2pt]{$\frac{r}{2}$};
% Using the topmost point as the topmost tip of the V's (upside-down) triangle
\draw[cyan] (0,1.5\rc) -- ++(246.59:2.18\rc)
node[near start, above, sloped] {$\frac{\sqrt{19}}{2} r$};
\draw[cyan] (0,1.5\rc) -- +(293.41:2.18\rc);
% and using the topmost tip of the equilateral triangle as center for the arc---which gives the V a bell-like appearance---in the bottom:
\draw[red] (0,\rc) +(240:1.732\rc) arc(240:300:1.732\rc);
\draw[help lines, red, ->] (0,\rc) -- +(255:1.732\rc); % the arc's radius
\end{tikzpicture}
\bigskip
Erasing all the help lines, nodes, and everything that's outside the circle:\par
\begin{tikzpicture}
% diaphragm pump:
\draw (0,0) circle(\rc);
\begin{scope}
\clip (0,0) circle(\rc);% clip everything outside the circle
\draw (0,1.5\rc) -- ++(246.59:2.18\rc)
arc(240:300:1.732\rc)
(0,1.5\rc) -- +(293.41:2.18\rc);
\end{scope}
%turbomolecular pump:
\draw (3,0) circle(\rc);
\begin{scope}
\clip (3,0) circle(\rc);
\draw (3,1.5\rc) -- ++(246.59:2.18\rc)
(3,1.5\rc) -- +(293.41:2.18\rc);
% to match the diaphragm pump's arc (bottom of the outer, hmm, turbo ring should be the same heigth
% as the bottom of the diaphragm pump arc's bottom), I just used the same distance between arc's
% bottom and the symbol's outer circle (2r - 1.732r = 0.268r) as distance between the two circles forming
% the `turbo ring', with the same value being the radius of the inner circle of this ring, so the center
% of the two circles forming the ring should be at 3*0.268r -1r = -0.196r, with a radius of 0.268r
% for the inner ring's circle, and twice that for the outer one:
\draw (3,-0.196\rc) circle(0.268\rc) circle(0.536\rc);
\end{scope}
\end{tikzpicture}
\end{document}
Rainer
Re: Vacuum Symbols


thanks a lot. i can work with this.
have a nice one
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Vacuum Symbols
For convenience of further readers, I attach the images made by Rainer:
Stefan