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] 2D Tools

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

      @njsanna said:

      My goal is a radius of 0.24". It seems that any radius 0.27" and greater trims the corner lines just fine.

      Any thoughts?

      Reduce the number of segments from the default 18 to 12.
      Click on the picture

      Alternatively, use the native 2-Point Arc tool instead. Double click in the corners for the arcs after the first one.
      Click on the picture

      Please update your profile. It says you're still using SketchUp 2013.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • BoxB 離線
        Box
        最後由 編輯

        From watching your gifs Dave, as I don't have the 2d tools, it is quicker with native tools.

        1 條回覆 最後回覆 回覆 引用 0
        • N 離線
          njsanna
          最後由 編輯

          @dave r said:

          @njsanna said:

          My goal is a radius of 0.24". It seems that any radius 0.27" and greater trims the corner lines just fine.

          Any thoughts?

          Reduce the number of segments from the default 18 to 12.

          Alternatively, use the native 2-Point Arc tool instead. Double click in the corners for the arcs after the first one.

          Please update your profile. It says you're still using SketchUp 2013.

          Thanks Dave. I did not know you could do that with the native arc tool. That's a very specific point that you have to be in to input the radius. I was always building guides at the correct distance from the corner and snapping it.

          1 條回覆 最後回覆 回覆 引用 0
          • Dave RD 離線
            Dave R
            最後由 編輯

            @njsanna said:

            Thanks Dave. I did not know you could do that with the native arc tool. That's a very specific point that you have to be in to input the radius. I was always building guides at the correct distance from the corner and snapping it.

            At the time TIG released 2D Tools the 2-Point Arc tool didn't do that. The feature was added later.

            There are several ways you can set a specific radius for the arc. One is the way you've done it with guides. Another is to place the arc and then edit the radius in Entity Info. The method I show does require that you bring the cursor back along the second edge to get the Measurements window to be asking for the Radius. In some cases you can just type the radius value followed by r although that requires knowing where the ends of the arc will be.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 條回覆 最後回覆 回覆 引用 0
            • BoxB 離線
              Box
              最後由 編輯

              The magenta inference is the trick, click once when you get the magenta the first time then move back along the edge until you get magenta again, then let go and type the radius.

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

                Installed the latest version 7.7. It worked for a couple of hours but started to freeze when using the rektangle, arc, etc. The line tool works just fine. Did a fresh install of sketchup (21.1.331) an have no other extentions installed but 2Dtools an debabelizer. It is strange but it just stopped working. Not knowing for sure but i think it started after playing around with the different line weights/types.

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 離線
                  TIG Moderator
                  最後由 編輯

                  No known issues about this...
                  If you work in an empty new model is it the same ?

                  TIG

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

                    @tig said:

                    No known issues about this...
                    If you work in an empty new model is it the same ?

                    yes, fresh install, different empty templates, inches, mm, cm.... etc, make no difference.
                    It freezes when I try to use the rectangle, circle, arc tools. The line and text tool is working. On page 25 in this tread there are several reports on the issue. the user "rdube" amon others. https://sketchucation.com/forums/memberlist.php?mode=viewprofile&u=561750.

                    I work on a iMac (Retina 5K, 27-inch, Late 2015) with Mac OS 10.14.6 (18G9323)
                    8GB RAM and AMD Radeon R9 M395 2 GB

                    1 條回覆 最後回覆 回覆 引用 0
                    • TIGT 離線
                      TIG Moderator
                      最後由 編輯

                      I am stuck.
                      I can't get the issue to appear on PC.
                      A few MAC users have had issues, but I haven't been able to track-down the problem...
                      If you try the tools when the Ruby Console is open are there any error massages ?

                      TIG

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

                        @tig said:

                        I am stuck.
                        I can't get the issue to appear on PC.
                        A few MAC users have had issues, but I haven't been able to track-down the problem...
                        If you try the tools when the Ruby Console is open are there any error massages ?

                        No messages. One thing I come in mind; just before this started I got the "unexpected file format" error message on one of my models. I did not use 2dtools in that project but the problems started right after that.

                        anyways, I can live without that tool so no need to do alot of work and errorhunting.
                        I use many of your tools every day. Thanks for all the work and good tools!

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

                          Thank you for this wonderful ruby

                          and I have a problem

                          my 2d tools is related with y axis. not z axis

                          so, actually I can't find any way to use it correctly

                          Do you have any way to solve this problem?

                          or Can I direct the right axis?

                          My sketchup is 2022 version

                          I'm looking forward to your reply

                          thank you

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

                            111.PNG

                            222.PNG

                            333.PNG

                            the 1st one is from top view

                            2nd one is from iso view

                            3rd one is the one I rotate it as if y(green) axis is z(blue) axis

                            these 3 captures are my problem

                            it follows y axis always

                            I can't find why

                            plz help me

                            1 條回覆 最後回覆 回覆 引用 0
                            • Dave RD 離線
                              Dave R
                              最後由 編輯

                              Edit the style so ground and sky are displayed and repeat the screenshots.

                              It appears you have moved the model axes. That doesn't change the ground plane orientation.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 條回覆 最後回覆 回覆 引用 0
                              • Dave RD 離線
                                Dave R
                                最後由 編輯

                                @marketeye said:

                                my 2d tools is related with y axis. not z axis

                                These tools are designed to work on the ground plane, which is indicated by the default location of the red/green (x,y) plane so with no Z element. Use the standard Top view.

                                By the way, your profile indicates you are using SketchUp 2022 Free/Make but there is no such version. Please correct that as the information in your profile helps us help you.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 條回覆 最後回覆 回覆 引用 0
                                • TIGT 離線
                                  TIG Moderator
                                  最後由 編輯

                                  2dTools always draws 'flat' on the model's ground plane XY, or above/below it, if you change its datum.
                                  I suspect that you have changed the model's displayed axes to not be the default model's axes - e.g. the blue Z axis is now rotated and the green Y axis is shown where the Z axis really is.
                                  2dTools always use the model's default axes, even when you have manually reset them.
                                  To change your axes back to the default you set the axes to be displayed and right-click > context-menu when hovering the cursor over any one of the three axis lines [RGB] and choosing 'Reset' from the context-menu...
                                  If your Template, used for your new models, has ill-advisedly got revised axes then you probably want to fix that too...

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • G 離線
                                    gbr120
                                    最後由 編輯

                                    Hello,
                                    When I use the 2d Line Style tool and right click in an open space to activate the Style Dialog box, I get the Invert Selection dialog instead. I am using Version SketchUp Pro 2020 20.2.172 64-bit. I reinstalled the update below with no change.
                                    Please help.
                                    Thank you, GBR

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • TIGT 離線
                                      TIG Moderator
                                      最後由 編輯

                                      It works fine for me !
                                      What extension do you have that adds 'invert selection' ?
                                      Whatever it is, it shouldn't work if nothing is selected - because there would be nothing to invert ?

                                      Do you have anything selected before right-clicking ??

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • K 離線
                                        killernova
                                        最後由 編輯

                                        @tig said:

                                        I am stuck.
                                        I can't get the issue to appear on PC.
                                        A few MAC users have had issues, but I haven't been able to track-down the problem...
                                        If you try the tools when the Ruby Console is open are there any error massages ?

                                        I also met the such problem. I did some tests and found the possible problem.
                                        For the 2dArc Tool:
                                        Steps:

                                        1. Click
                                        2. Move on the screen
                                        3. Click
                                        4. Move on the screen
                                          After step 4, SketchUp crashed.(Only on MacOS, Windows is fine)

                                        Possible Reason:
                                        After step 3, the view will draw a line, which presents two points the arc will pass through.
                                        In Step 4, the 2dArc tool will create a temporary arc, get the points of this arc, then remove the arc, and draw lines of those points. Those operations will execute when the mouse moves, and this may consume large CPU resources.

                                        If I remove these operations, then the tool works well. But I don't know why Sketchup only crashes on MacOS.

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

                                          I looked into this (posted also on the SketchUp public forum). Reposting here where TIG keeps the actual extension and has the main discussion about it.

                                          I reproduced the issue on macOS Ventura 13.3.1 on my Intel-based 2019 MBP 16" using both SketchUp 2023.0.396 and SketchUp 2022.1.165. So it is not specific to Apple Silicon nor to SketchUp 2023. I don’t have a pre-Ventura version of macOS running, so I can’t verify whether the issue also happens on Monterey or earlier.

                                          After some testing, I found that the extension was looping in the draw (view) method after the second point is picked (in the @state > 1 clause.) I think the problem is that the code calls view.invalidate from within the draw method, triggering an immediate call again to draw - endless loop! I commented out the view.invalidate, and the problem went away.

                                          I’m not clear why the view.invalidate was needed in the first place, even on Windows. @TIG, perhaps you can explain? If it is needed on Windows or older versions of macOS, a simple branch test based on OS version could fix it?

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • TIGT 離線
                                            TIG Moderator
                                            最後由 編輯

                                            Thanks very much for your testing and info.
                                            I'll look at the code and try getting rid of the view.invalidate parts, re-sign it and give out some test versions RBZ, republishing if it's proved OK...

                                            TIG

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

                                            Advertisement