Draw a pulley system Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraTikZ: placing a line (transformed into a sinusoidal shape) parallel to an edge connecting nodesAbsolutely position arrow headHow to define the default vertical distance between nodes?Computing the rectangle encompassing a node and a pointUse of overlay command in a graphTikZ: Drawing an arc from an intersection to an intersectionGetting the proper shading within a circle - a bit of litographyAdjusting edge alignment and positioning of fitted nodeRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of them

Is this homebrew racial feat, Stonehide, balanced?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Are all CP/M-80 implementations binary compatible?

Will I lose my paid in full property

Does Mathematica have an implementation of the Poisson Binomial Distribution?

Visa-free travel to the US using refugee travel document from Spain?

Is it acceptable to use working hours to read general interest books?

What is the ongoing value of the Kanban board to the developers as opposed to management

Where did Arya get these scars?

Can I criticise the more senior developers around me for not writing clean code?

Co-worker works way more than he should

Why does the Cisco show run command not show the full version, while the show version command does?

What do you call the part of a novel that is not dialog?

What is it called when you ride around on your front wheel?

Protagonist's race is hidden - should I reveal it?

How to get even lighting when using flash for group photos near wall?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Putting Ant-Man on house arrest

Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?

Do you need a weapon for Thunderous Smite, and the other 'Smite' spells?

Would reducing the reference voltage of an ADC have any effect on accuracy?

Does the set of sets which are elements of every set exist?

Did the Roman Empire have penal colonies?

What was Apollo 13's "Little Jolt" after MECO?



Draw a pulley system



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraTikZ: placing a line (transformed into a sinusoidal shape) parallel to an edge connecting nodesAbsolutely position arrow headHow to define the default vertical distance between nodes?Computing the rectangle encompassing a node and a pointUse of overlay command in a graphTikZ: Drawing an arc from an intersection to an intersectionGetting the proper shading within a circle - a bit of litographyAdjusting edge alignment and positioning of fitted nodeRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of them










5















Consider:



Enter image description here



I need to draw a pulley system as in the figure. How can I do that?



begintikzpicture
fill[pattern=north east lines] (-3,0) rectangle (3,.3);
draw(-3,0)--(3,0);
draw(-2.5,0)--(-2.5,-2.4);
draw(2.5,0)--(2.5,-1);

draw[fill=white] (-2.5,-2.4) circle (.3);
draw[fill=white] (2.5,-1) circle (.3);
draw[fill=white] (0,-3) circle (.153);

draw
(2.5,-1) coordinate (a) node[right]
-- (0,-3) coordinate (b) node[left]
-- (0,-2.75) coordinate (c) node[above right]
pic["$beta$", draw=orange, <->, angle eccentricity=1.2172, angle radius=.51cm]
angle=a--b--c;

draw
(0,-2.75) coordinate (a) node[right]
-- (0,-3) coordinate (b) node[left]
-- (-2.5,-2.4) coordinate (c) node[above right]
pic["$alpha$", draw=orange, <->, angle eccentricity=.72172, angle radius=.751cm]
angle=a--b--c;
draw[dashed] (0,-3)--(0,-1);
draw[fill=white] (-2.5,-2.4) circle (.3);
draw[fill=white] (2.5,-1) circle (.3);

draw[fill=white] (0,-3) circle (.153);

endtikzpicture









share|improve this question




























    5















    Consider:



    Enter image description here



    I need to draw a pulley system as in the figure. How can I do that?



    begintikzpicture
    fill[pattern=north east lines] (-3,0) rectangle (3,.3);
    draw(-3,0)--(3,0);
    draw(-2.5,0)--(-2.5,-2.4);
    draw(2.5,0)--(2.5,-1);

    draw[fill=white] (-2.5,-2.4) circle (.3);
    draw[fill=white] (2.5,-1) circle (.3);
    draw[fill=white] (0,-3) circle (.153);

    draw
    (2.5,-1) coordinate (a) node[right]
    -- (0,-3) coordinate (b) node[left]
    -- (0,-2.75) coordinate (c) node[above right]
    pic["$beta$", draw=orange, <->, angle eccentricity=1.2172, angle radius=.51cm]
    angle=a--b--c;

    draw
    (0,-2.75) coordinate (a) node[right]
    -- (0,-3) coordinate (b) node[left]
    -- (-2.5,-2.4) coordinate (c) node[above right]
    pic["$alpha$", draw=orange, <->, angle eccentricity=.72172, angle radius=.751cm]
    angle=a--b--c;
    draw[dashed] (0,-3)--(0,-1);
    draw[fill=white] (-2.5,-2.4) circle (.3);
    draw[fill=white] (2.5,-1) circle (.3);

    draw[fill=white] (0,-3) circle (.153);

    endtikzpicture









    share|improve this question


























      5












      5








      5


      2






      Consider:



      Enter image description here



      I need to draw a pulley system as in the figure. How can I do that?



      begintikzpicture
      fill[pattern=north east lines] (-3,0) rectangle (3,.3);
      draw(-3,0)--(3,0);
      draw(-2.5,0)--(-2.5,-2.4);
      draw(2.5,0)--(2.5,-1);

      draw[fill=white] (-2.5,-2.4) circle (.3);
      draw[fill=white] (2.5,-1) circle (.3);
      draw[fill=white] (0,-3) circle (.153);

      draw
      (2.5,-1) coordinate (a) node[right]
      -- (0,-3) coordinate (b) node[left]
      -- (0,-2.75) coordinate (c) node[above right]
      pic["$beta$", draw=orange, <->, angle eccentricity=1.2172, angle radius=.51cm]
      angle=a--b--c;

      draw
      (0,-2.75) coordinate (a) node[right]
      -- (0,-3) coordinate (b) node[left]
      -- (-2.5,-2.4) coordinate (c) node[above right]
      pic["$alpha$", draw=orange, <->, angle eccentricity=.72172, angle radius=.751cm]
      angle=a--b--c;
      draw[dashed] (0,-3)--(0,-1);
      draw[fill=white] (-2.5,-2.4) circle (.3);
      draw[fill=white] (2.5,-1) circle (.3);

      draw[fill=white] (0,-3) circle (.153);

      endtikzpicture









      share|improve this question
















      Consider:



      Enter image description here



      I need to draw a pulley system as in the figure. How can I do that?



      begintikzpicture
      fill[pattern=north east lines] (-3,0) rectangle (3,.3);
      draw(-3,0)--(3,0);
      draw(-2.5,0)--(-2.5,-2.4);
      draw(2.5,0)--(2.5,-1);

      draw[fill=white] (-2.5,-2.4) circle (.3);
      draw[fill=white] (2.5,-1) circle (.3);
      draw[fill=white] (0,-3) circle (.153);

      draw
      (2.5,-1) coordinate (a) node[right]
      -- (0,-3) coordinate (b) node[left]
      -- (0,-2.75) coordinate (c) node[above right]
      pic["$beta$", draw=orange, <->, angle eccentricity=1.2172, angle radius=.51cm]
      angle=a--b--c;

      draw
      (0,-2.75) coordinate (a) node[right]
      -- (0,-3) coordinate (b) node[left]
      -- (-2.5,-2.4) coordinate (c) node[above right]
      pic["$alpha$", draw=orange, <->, angle eccentricity=.72172, angle radius=.751cm]
      angle=a--b--c;
      draw[dashed] (0,-3)--(0,-1);
      draw[fill=white] (-2.5,-2.4) circle (.3);
      draw[fill=white] (2.5,-1) circle (.3);

      draw[fill=white] (0,-3) circle (.153);

      endtikzpicture






      tikz-pgf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Peter Mortensen

      55437




      55437










      asked 2 days ago









      ThumboltThumbolt

      1,536822




      1,536822




















          1 Answer
          1






          active

          oldest

          votes


















          13














          In order to compute the tangents it is advantageous to make the circles nodes and to use tangent cs:, which comes with calc. And the angles can be conveniently drawn with the angles library, where quotes makes it somewhat simpler to add alpha and beta.



          documentclass[tikz,border=3.14mm]standalone
          usetikzlibrarypatterns,calc,angles,quotes
          begindocument
          begintikzpicture
          fill[pattern=north east lines] (-3,0) rectangle (3,.3);
          beginscope[thick]
          draw(-3,0)--(3,0);

          path (-2.5,-2.4) node[circle,draw,inner sep=.3cm] (L)
          (2.5,-1) node[circle,draw,inner sep=.3cm] (R)
          (0,-3) node[circle,draw,inner sep=.153cm,label=below:$m$] (M);
          draw (L.north) -- (L.north|-0,0) (R.north) -- (R.north|-0,0);
          draw[dashed] (M) -- (0,-1)coordinate (M1);
          draw (M) -- (tangent cs:node=L,point=(M.center),solution=1) coordinate (L1)
          let p1=($(L1)-(L.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
          arc(n1:180:n2) -- ++(0,-1.5) node[below,draw]$m_1$;
          draw (M) -- (tangent cs:node=R,point=(M.center),solution=2) coordinate (R1)
          let p1=($(R1)-(R.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
          arc(n1:00:n2) -- ++(0,-1.5) node[below,draw]$m_2$;
          endscope
          path pic [draw,angle radius=0.5cm,"$alpha$",angle eccentricity=1.5] angle = M1--M--L1
          pic [draw,angle radius=0.7cm,"$beta$",angle eccentricity=1.5] angle = R1--M--M1 ;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485982%2fdraw-a-pulley-system%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            13














            In order to compute the tangents it is advantageous to make the circles nodes and to use tangent cs:, which comes with calc. And the angles can be conveniently drawn with the angles library, where quotes makes it somewhat simpler to add alpha and beta.



            documentclass[tikz,border=3.14mm]standalone
            usetikzlibrarypatterns,calc,angles,quotes
            begindocument
            begintikzpicture
            fill[pattern=north east lines] (-3,0) rectangle (3,.3);
            beginscope[thick]
            draw(-3,0)--(3,0);

            path (-2.5,-2.4) node[circle,draw,inner sep=.3cm] (L)
            (2.5,-1) node[circle,draw,inner sep=.3cm] (R)
            (0,-3) node[circle,draw,inner sep=.153cm,label=below:$m$] (M);
            draw (L.north) -- (L.north|-0,0) (R.north) -- (R.north|-0,0);
            draw[dashed] (M) -- (0,-1)coordinate (M1);
            draw (M) -- (tangent cs:node=L,point=(M.center),solution=1) coordinate (L1)
            let p1=($(L1)-(L.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
            arc(n1:180:n2) -- ++(0,-1.5) node[below,draw]$m_1$;
            draw (M) -- (tangent cs:node=R,point=(M.center),solution=2) coordinate (R1)
            let p1=($(R1)-(R.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
            arc(n1:00:n2) -- ++(0,-1.5) node[below,draw]$m_2$;
            endscope
            path pic [draw,angle radius=0.5cm,"$alpha$",angle eccentricity=1.5] angle = M1--M--L1
            pic [draw,angle radius=0.7cm,"$beta$",angle eccentricity=1.5] angle = R1--M--M1 ;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer





























              13














              In order to compute the tangents it is advantageous to make the circles nodes and to use tangent cs:, which comes with calc. And the angles can be conveniently drawn with the angles library, where quotes makes it somewhat simpler to add alpha and beta.



              documentclass[tikz,border=3.14mm]standalone
              usetikzlibrarypatterns,calc,angles,quotes
              begindocument
              begintikzpicture
              fill[pattern=north east lines] (-3,0) rectangle (3,.3);
              beginscope[thick]
              draw(-3,0)--(3,0);

              path (-2.5,-2.4) node[circle,draw,inner sep=.3cm] (L)
              (2.5,-1) node[circle,draw,inner sep=.3cm] (R)
              (0,-3) node[circle,draw,inner sep=.153cm,label=below:$m$] (M);
              draw (L.north) -- (L.north|-0,0) (R.north) -- (R.north|-0,0);
              draw[dashed] (M) -- (0,-1)coordinate (M1);
              draw (M) -- (tangent cs:node=L,point=(M.center),solution=1) coordinate (L1)
              let p1=($(L1)-(L.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
              arc(n1:180:n2) -- ++(0,-1.5) node[below,draw]$m_1$;
              draw (M) -- (tangent cs:node=R,point=(M.center),solution=2) coordinate (R1)
              let p1=($(R1)-(R.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
              arc(n1:00:n2) -- ++(0,-1.5) node[below,draw]$m_2$;
              endscope
              path pic [draw,angle radius=0.5cm,"$alpha$",angle eccentricity=1.5] angle = M1--M--L1
              pic [draw,angle radius=0.7cm,"$beta$",angle eccentricity=1.5] angle = R1--M--M1 ;
              endtikzpicture
              enddocument


              enter image description here






              share|improve this answer



























                13












                13








                13







                In order to compute the tangents it is advantageous to make the circles nodes and to use tangent cs:, which comes with calc. And the angles can be conveniently drawn with the angles library, where quotes makes it somewhat simpler to add alpha and beta.



                documentclass[tikz,border=3.14mm]standalone
                usetikzlibrarypatterns,calc,angles,quotes
                begindocument
                begintikzpicture
                fill[pattern=north east lines] (-3,0) rectangle (3,.3);
                beginscope[thick]
                draw(-3,0)--(3,0);

                path (-2.5,-2.4) node[circle,draw,inner sep=.3cm] (L)
                (2.5,-1) node[circle,draw,inner sep=.3cm] (R)
                (0,-3) node[circle,draw,inner sep=.153cm,label=below:$m$] (M);
                draw (L.north) -- (L.north|-0,0) (R.north) -- (R.north|-0,0);
                draw[dashed] (M) -- (0,-1)coordinate (M1);
                draw (M) -- (tangent cs:node=L,point=(M.center),solution=1) coordinate (L1)
                let p1=($(L1)-(L.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
                arc(n1:180:n2) -- ++(0,-1.5) node[below,draw]$m_1$;
                draw (M) -- (tangent cs:node=R,point=(M.center),solution=2) coordinate (R1)
                let p1=($(R1)-(R.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
                arc(n1:00:n2) -- ++(0,-1.5) node[below,draw]$m_2$;
                endscope
                path pic [draw,angle radius=0.5cm,"$alpha$",angle eccentricity=1.5] angle = M1--M--L1
                pic [draw,angle radius=0.7cm,"$beta$",angle eccentricity=1.5] angle = R1--M--M1 ;
                endtikzpicture
                enddocument


                enter image description here






                share|improve this answer















                In order to compute the tangents it is advantageous to make the circles nodes and to use tangent cs:, which comes with calc. And the angles can be conveniently drawn with the angles library, where quotes makes it somewhat simpler to add alpha and beta.



                documentclass[tikz,border=3.14mm]standalone
                usetikzlibrarypatterns,calc,angles,quotes
                begindocument
                begintikzpicture
                fill[pattern=north east lines] (-3,0) rectangle (3,.3);
                beginscope[thick]
                draw(-3,0)--(3,0);

                path (-2.5,-2.4) node[circle,draw,inner sep=.3cm] (L)
                (2.5,-1) node[circle,draw,inner sep=.3cm] (R)
                (0,-3) node[circle,draw,inner sep=.153cm,label=below:$m$] (M);
                draw (L.north) -- (L.north|-0,0) (R.north) -- (R.north|-0,0);
                draw[dashed] (M) -- (0,-1)coordinate (M1);
                draw (M) -- (tangent cs:node=L,point=(M.center),solution=1) coordinate (L1)
                let p1=($(L1)-(L.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
                arc(n1:180:n2) -- ++(0,-1.5) node[below,draw]$m_1$;
                draw (M) -- (tangent cs:node=R,point=(M.center),solution=2) coordinate (R1)
                let p1=($(R1)-(R.center)$),n1=atan2(y1,x1),n2=veclen(y1,x1) in
                arc(n1:00:n2) -- ++(0,-1.5) node[below,draw]$m_2$;
                endscope
                path pic [draw,angle radius=0.5cm,"$alpha$",angle eccentricity=1.5] angle = M1--M--L1
                pic [draw,angle radius=0.7cm,"$beta$",angle eccentricity=1.5] angle = R1--M--M1 ;
                endtikzpicture
                enddocument


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 days ago

























                answered 2 days ago









                marmotmarmot

                121k6158296




                121k6158296



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485982%2fdraw-a-pulley-system%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                    Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                    Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림