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

[Plugin] 2D Tools

Scheduled Pinned Locked Moved Plugins
785 Posts 178 Posters 462.5k Views
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.
  • B Offline
    Box
    last edited by 13 Dec 2021, 08:59

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

    1 Reply Last reply Reply Quote 0
    • N Offline
      njsanna
      last edited by 13 Dec 2021, 15:01

      @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 Reply Last reply Reply Quote 0
      • D Offline
        Dave R
        last edited by 13 Dec 2021, 15:13

        @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 Reply Last reply Reply Quote 0
        • B Offline
          Box
          last edited by 13 Dec 2021, 15:21

          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 Reply Last reply Reply Quote 0
          • B Offline
            bebdesign
            last edited by 15 Feb 2022, 15:57

            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 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 16 Feb 2022, 13:59

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

              TIG

              1 Reply Last reply Reply Quote 0
              • B Offline
                bebdesign
                last edited by 17 Feb 2022, 10:45

                @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 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 17 Feb 2022, 11:48

                  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 Reply Last reply Reply Quote 0
                  • B Offline
                    bebdesign
                    last edited by 18 Feb 2022, 09:18

                    @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 Reply Last reply Reply Quote 0
                    • M Offline
                      marketeye
                      last edited by 6 Aug 2022, 12:16

                      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 Reply Last reply Reply Quote 0
                      • M Offline
                        marketeye
                        last edited by 8 Aug 2022, 05:42

                        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 Reply Last reply Reply Quote 0
                        • D Offline
                          Dave R
                          last edited by 8 Aug 2022, 09:59

                          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 Reply Last reply Reply Quote 0
                          • D Offline
                            Dave R
                            last edited by 8 Aug 2022, 10:02

                            @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 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 8 Aug 2022, 10:30

                              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 Reply Last reply Reply Quote 0
                              • G Offline
                                gbr120
                                last edited by 20 Nov 2022, 17:55

                                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 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 20 Nov 2022, 19:55

                                  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 Reply Last reply Reply Quote 0
                                  • K Offline
                                    killernova
                                    last edited by 22 Feb 2023, 03:03

                                    @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 Reply Last reply Reply Quote 0
                                    • S Offline
                                      slbaumgartner
                                      last edited by 18 Apr 2023, 15:04

                                      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 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 18 Apr 2023, 15:40

                                        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 Reply Last reply Reply Quote 0
                                        • A Offline
                                          anglaret
                                          last edited by 24 Apr 2023, 15:41

                                          Hello TIG
                                          I am a real fan of your extensions.
                                          2D I use every day. But 2023 release dose not allow to parametre lines, witdth and type.
                                          Unless I am dumb, do you have a solution
                                          Marc ANGLARET France

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 36
                                          • 37
                                          • 38
                                          • 39
                                          • 40
                                          • 38 / 40
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement