简单滑轮自由体图

简单滑轮自由体图

我想在 tikz 中创建以下图像。

在此处输入图片描述

我对此完全陌生,所以我尝试更改代码http://www.texample.net/tikz/examples/free-body-diagrams/

\def\iangle{90} 

\def\down{-90}
\def\arcr{0.5cm} 
\begin{tikzpicture}[
    force/.style={>=latex,draw=blue,fill=blue},
    axis/.style={densely dashed,gray,font=\small},
    M/.style={rectangle,draw,fill=lightgray,minimum size=0.5cm,thin},
    m/.style={rectangle,draw=black,fill=lightgray,minimum size=0.3cm,thin},
    plane/.style={draw=black,fill=blue!10},
    string/.style={draw=red, thick},
    pulley/.style={thick},
]

\matrix[column sep=1cm] {
   \draw[plane] (0,-1) coordinate (base)
                     -- coordinate[pos=0.5] (mid) ++(\iangle:3) coordinate (top)
                     |- (base) -- cycle;
    \path (mid) node[M,rotate=\iangle,yshift=0.5cm] (M) {};
&
    %%%
    % Free body diagram of M2 pulley
    \draw[pulley] (top) -- ++(\iangle:0.25) circle (0.5cm)
                   ++ (90-\iangle:0.5) coordinate (pulley);
    \draw[string] (M.east) -- ++(\iangle:2.0cm) arc (90+\iangle:0:0.25)
                  -- ++(0,-1) node[m] {};
\\
};
\end{tikzpicture}

但我还不够接近。如果能提供一些基本建议就更好了。

答案1

像这样:

在此处输入图片描述

以下是代码:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}

\begin{tikzpicture}[>=Latex]
   \draw[thick] (0,0) circle (10mm);
   \draw[thick,->](-1,0)--++(0,-2)node[below]{$T_2$};
   \draw[thick,->](1,0)--++(0,-2)node[below]{$T_2$};
   \draw[thick,->](0,0)--++(0,2)node[above]{$T_1$};
\end{tikzpicture}

\end{document}

\usetikzlibrary{arrows.meta}>=Latex给 OP 中的乳胶箭头。

相关内容