sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Circle from edge (2-pt circle,Updated 15/02/2016)

    已排程 已置頂 已鎖定 已移動 Plugins
    29 貼文 10 Posters 64.2k 瀏覽 10 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      Perhaps see my 2Dtool's 2Dcircle code for some cribs... they make circles by center+radius, three-points and diameter [two points]; with typed in dimensions and segmentation...
      Its 2Dpolygon sibling is similar but also has polygon by side length option - useful for making pseudo-circles with a fixed segment length...

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • S 離線
        sahi
        最後由 編輯

        @unknownuser said:

        Cool but don't work if you don't take an "end point" on the original circle 😉
        (midpoint for example)
        Circles will be not directly overlapsed 😉

        In the first report script focuses on the endpoint bindings. What kind of plane it points parallel to the plane and added to the face

        In this script focuses on the initial anchor point.
        krug_4.zip

        1 條回覆 最後回覆 回覆 引用 0
        • kenK 離線
          ken
          最後由 編輯

          Not sure this plugin draw a circle. I have two other plugin, draw circle by two points, and draw a circle by 3 points and both of these plugin the circles drawn will have a diameter if dimension by the dimensioning tool. Using this plugin the drawn circle is a group of straight lines in a circle an can not be dimensioned.

          Useful, however not a circle. And thank you for you work.

          Ken

          Fight like your the third monkey on Noah's Ark gangway.

          1 條回覆 最後回覆 回覆 引用 0
          • S 離線
            sahi
            最後由 編輯

            Updated the script in the first message
            Added

            Shift left - the direction of drawing a circle blocks
            Shift right - blocking the diameter of the circle
            <- Left Arrow - Draw a circle perpendicular to x axis
            -> arrow to the right - draw a circle perpendicular to the axis of
            Up arrow - adds one hemisphere at the top
            Down arrow - adds one side of the bottom

            1 條回覆 最後回覆 回覆 引用 0
            • mitcorbM 離線
              mitcorb
              最後由 編輯

              Hi, sahi:
              I was hoping for a little more explanation of the tool. I am not a good tester.

              Edit 05/19/11. Your latest update video explains well. 👍

              I take the slow, deliberate approach in my aimless wandering.

              1 條回覆 最後回覆 回覆 引用 0
              • boofredlayB 離線
                boofredlay
                最後由 編輯

                This is looking great, thanks.

                http://www.coroflot.com/boofredlay

                1 條回覆 最後回覆 回覆 引用 0
                • kenK 離線
                  ken
                  最後由 編輯

                  This is looking like a keeper of a plugin. However, it does not make a circle or any geometry that Sketchup can input a center mark. Now, I know this does not seem important now, but later after push pulling, adding multiple circles, you will want to add dimensions or find the center and the geometry this plugin make you can not accomplish that task.

                  There is another 2 point circle plugin that does make geometry that you can get the dimensions and add a center point. Just pointing this out, as right now it makes more work later down the road than it should.

                  However, thanks for the plugin.

                  Ken

                  Fight like your the third monkey on Noah's Ark gangway.

                  1 條回覆 最後回覆 回覆 引用 0
                  • B 離線
                    boilingsnow
                    最後由 編輯

                    "Up arrow - adds one hemisphere at the top
                    Down arrow - adds one side of the bottom"

                    These two options don't work in my sketchup 8...

                    1 條回覆 最後回覆 回覆 引用 0
                    • S 離線
                      sahi
                      最後由 編輯

                      @boilingsnow said:

                      These two options don't work in my sketchup 8...

                      Updated the script in the first message (krug-10.zip)

                      1 條回覆 最後回覆 回覆 引用 0
                      • B 離線
                        boilingsnow
                        最後由 編輯

                        @sahi said:

                        @boilingsnow said:

                        These two options don't work in my sketchup 8...

                        Updated the script in the first message (krug-10.zip)

                        That was really quick! Thanks a lot. But sadly... the problem unsolved.

                        Am I doing anything wrong? After drawing the circle press the up arrow key.

                        By the way,the left and right arrow keys are working.

                        1 條回覆 最後回覆 回覆 引用 0
                        • S 離線
                          sahi
                          最後由 編輯

                          @boilingsnow said:

                          Am I doing anything wrong?

                          In previous versions it was impossible to move the mouse, then press worked.

                          I fixed it in version krug-11.zip

                          Updated the script in the first message (krug-11.zip)

                          1 條回覆 最後回覆 回覆 引用 0
                          • B 離線
                            boilingsnow
                            最後由 編輯

                            @sahi said:

                            @boilingsnow said:

                            Am I doing anything wrong?

                            In previous versions it was impossible to move the mouse, then press worked.

                            I fixed it in version krug-11.zip

                            Updated the script in the first message (krug-11.zip)

                            Did you test it in Sketchup 8? I'm sorry I still can't get it working.

                            1 條回覆 最後回覆 回覆 引用 0
                            • S 離線
                              sahi
                              最後由 編輯

                              @boilingsnow said:

                              Did you test it in Sketchup 8? I'm sorry I still can't get it working.

                              The archive video
                              video_krug_4.rar

                              1 條回覆 最後回覆 回覆 引用 0
                              • B 離線
                                boilingsnow
                                最後由 編輯

                                @sahi said:

                                @boilingsnow said:

                                Did you test it in Sketchup 8? I'm sorry I still can't get it working.

                                The archive video
                                [attachment=0:12b25ek5]<!-- ia0 -->video_krug_4.rar<!-- ia0 -->[/attachment:12b25ek5]

                                Yes I can see it works well in your video. And the anwsers of other Members can also confirm that it works.
                                I know it's a little annoying now but the krug_11 also does't work by creating the hemispheres with up- and down arrow key. I've tested it in my notebook and in PC of the office, neither can work.

                                I also tested your krug_4, I can only draw the first circle, but none of the arrow key can work. (with krug_11 I can create the second and third circles with left and right keys but not the hemispheres.

                                I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right? What do you mean with your words 'In previous versions it was impossible to move the mouse'? Should I move the mouse to a certain position before I press the up arrow key?

                                1 條回覆 最後回覆 回覆 引用 0
                                • mitcorbM 離線
                                  mitcorb
                                  最後由 編輯

                                  For me, it appears that I must press the arrow keys within say 5 seconds to get the results. I can't go back to a circle and use the arrow keys. Is this correct?

                                  I take the slow, deliberate approach in my aimless wandering.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • S 離線
                                    sahi
                                    最後由 編輯

                                    @mitcorb said:

                                    For me, it appears that I must press the arrow keys within say 5 seconds to get the results.

                                    No. While you are using a script and did not select another tool or until set again the starting point of the circle - you can use the arrow to the left, right, up, and the bottom

                                    @mitcorb said:

                                    I can't go back to a circle and use the arrow keys. Is this correct?

                                    Yes.

                                    @boilingsnow said:

                                    Should I move the mouse to a certain position before I press the up arrow key?

                                    NO

                                    @boilingsnow said:

                                    I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right?

                                    I think the problem is the keyboard.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • B 離線
                                      boilingsnow
                                      最後由 編輯

                                      @boilingsnow said:

                                      I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right?

                                      I think the problem is the keyboard.[/quote]
                                      Yes, you are right.

                                      I find out that every plugin that need to use up and down arrow key doesn't work in my notebook. (Such as Artisan uses up and down key to change the displacement vector. and "edge follow me" tool of sdmich uses up+down to change the direction of the curve).

                                      BUT finally I figured out that up and down work in all these plugins if I press ctrl+up or ctrl+down, I don't know why.

                                      Thank you again for your plugin and your help.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • M 離線
                                        Michaelv
                                        最後由 編輯

                                        Great plugin.
                                        Crashes SU8 free on MAC (don't know why yet)
                                        Modifiers don't work on MAC (as expected), working on it.

                                        Check PM

                                        Also the "add face circle" context menu doesn't seem to do anything. Is it active? What is it supposed to do?
                                        I can trigger it picking one edge of an arc or circle, but then nothing happens.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • S 離線
                                          sahi
                                          最後由 編輯

                                          @michaelv said:

                                          Check PM

                                          Yes

                                          @michaelv said:

                                          Also the "add face circle" context menu doesn't seem to do anything. Is it active? What is it supposed to do?
                                          I can trigger it picking one edge of an arc or circle, but then nothing happens.

                                          I just forgot to remove it.

                                          But it works, watch the video archive
                                          video_2.zip

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • M 離線
                                            Michaelv
                                            最後由 編輯

                                            @sahi said:

                                            But it works, watch the video archive

                                            Got it. I didn't try to pick 2 points. In any case I use the "create face" tool from SU or it works by closing the curve or retracing one edge in the core sketchup. It works for all faces regarding of shapes (as long as they are closed and coplanar). I also tried both on your circles and it works fine. So I think it can be discarded.

                                            Michael

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement