sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [REQ] Draw circle tangent to lines

    Scheduled Pinned Locked Moved Plugins
    5 Posts 4 Posters 3.1k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      greatoe
      last edited by

      I want to draw a circle that is tangent to three lines, or a circle tangent to two lines with a given radius. In AutoCAD, the job is pretty easy. But in SketchUp, a circle is made by segments, thus made it very hard to figure out tangent points.

      Could someone please kindly advise if there is kinda script out there that can do this job?

      I did a search but no luck.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • Didier BurD Offline
        Didier Bur
        last edited by

        Hi,
        Something like this ?
        bissectr4.gif
        If we know the lines (even 2 of them parallel), we can calculate I, then create the circle.
        Do-able, but not now (too much work on other projects).

        DB

        1 Reply Last reply Reply Quote 0
        • J Offline
          JuanV.Soler
          last edited by

          i understand your pain


          trouble.skp


          clicc2.JPG

          ,))),

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fletch
            last edited by

            ahh... I was wishing for this just today...
            hopefully we will see it one day then... 😎

            Fletch
            Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

            1 Reply Last reply Reply Quote 0
            • G Offline
              greatoe
              last edited by

              @juanv.soler said:

              i understand your pain

              @didier bur said:

              Hi,
              Something like this ?
              [attachment=3:3py8nirk]<!-- ia3 -->bissectr4.gif<!-- ia3 -->[/attachment:3py8nirk]
              If we know the lines (even 2 of them parallel), we can calculate I, then create the circle.
              Do-able, but not now (too much work on other projects).

              Hi JuanV.Soler and D.Bur,

              Thanks for the reply, you understood me exactly.

              If I try to draw it manually (use only the primary sketchup drawing tools),
              firstly I draw circle A, get poit B and C,
              then I draw circle B and circle C with the same radius to get point D,
              line AD is the bisector of angle BA/AC,
              with the same method I have line EF,
              now I get point G, intersection of line AD and line EF, which is the center point of the circle I want (which tangent to the three lines)
              [attachment=2:3py8nirk]<!-- ia2 -->34.jpg<!-- ia2 -->[/attachment:3py8nirk]
              but as you can see in the picture,
              because sketchup use segments to form circles,
              obviously segment AB does not equal to segment AC,
              and line AD is not the exact bisector of angle BA/AC.

              within the script "k_tools.rb" by Klaudius there is a function call "Angle Division",
              this helps finding the exact biscetor of the angles, also the exact center point of the final circle,
              but problem still remains,
              [attachment=1:3py8nirk]<!-- ia1 -->35.jpg<!-- ia1 -->[/attachment:3py8nirk]
              I draw a circle from point G perpendicular to line AE,
              so T2 is the exact tangent (and intersection) point of the circle and line AE,
              T1 and T3 should be the other two tangent/intersection points,
              yet, again, because the circle is made by segments,
              I'm not able to get intersections of the circle and the lines.
              This is much clear with a circle with less segments,
              As shown in the above picture, the circle with less segments (12 of them) does not even touch the lines.
              And, normally we want a model with less segments, right? 😄

              The following picture shows what I want/got finally.
              [attachment=0:3py8nirk]<!-- ia0 -->37.jpg<!-- ia0 -->[/attachment:3py8nirk]


              34.jpg


              35.jpg


              37.jpg

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement