sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] 2D Tools

    Scheduled Pinned Locked Moved Plugins
    785 Posts 178 Posters 462.6k Views 177 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.
    • mitcorbM Offline
      mitcorb
      last edited by

      Ok, TIG:
      Say, what do you do--take power naps?

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

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        TIG Moderator
        last edited by

        Here's v3.5 http://forums.sketchucation.com/viewtopic.php?p=185760#p1857605

        Hatching Tool made v6/XP friendly.
        Adjust to Arcs changed to individual Segments.
        2D Text now has a Snap setting for Z-plane or All-Faces.

        Feedback please...

        TIG

        1 Reply Last reply Reply Quote 0
        • mitcorbM Offline
          mitcorb
          last edited by

          TIG:

          SUCCESS!!!!!!!
          Made a 2d rectangle on default 0 zplane, gave it a 2d face, selected hatching tool, folder popped up, selected angle patt and it was applied. Incidentally, I did this procedure with the Ruby Console open, and there was no data on any of the actions.

          Comments: the angle pattern does not display boldly, you must zoom in. Have not tried any other patterns. I assume they are scalable.

          Buncha Questions:
          What is so special about the double backslash method?
          Why did your original code work for so many other users and not for my case, and maybe others?
          Is this something that all plugin authors should be considering, or is it unique to SU6?, or XP?
          Does this fix also address the linestyle question?

          Thank you very much for all that you do!
          mitcorb

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

          1 Reply Last reply Reply Quote 0
          • TIGT Online
            TIG Moderator
            last edited by

            @mitcorb said:

            TIG:
            SUCCESS!!!!!!!
            Made a 2d rectangle on default 0 zplane, gave it a 2d face, selected hatching tool, folder popped up, selected angle patt and it was applied. Incidentally, I did this procedure with the Ruby Console open, and there was no data on any of the actions.
            Comments: the angle pattern does not display boldly, you must zoom in. Have not tried any other patterns. I assume they are scalable.
            Buncha Questions:
            What is so special about the double backslash method?
            Why did your original code work for so many other users and not for my case, and maybe others?
            Is this something that all plugin authors should be considering, or is it unique to SU6?, or XP?
            Does this fix also address the linestyle question?
            Thank you very much for all that you do!
            mitcorb

            \ works for Sketchup UI.openpanel etc in all PC versions.
            \ doesn't work for Ruby classes like Dir - those need / !
            / works for Mac and newer versions of Sketchup and PC OS's - with UI.openpanel etc.

            I have now trapped it to use / for Ruby and Mac and \ for PC always...

            I 'inherited' most of the PATT files if you want to adjust them by editing the JPGs feel free - re-publish them here if they are good... You can also scale the image in the Material Editor etc...

            Solved at last ! 😄

            TIG

            1 Reply Last reply Reply Quote 0
            • JClementsJ Offline
              JClements
              last edited by

              OOPs

              2Dtexttool.png missing a "T".

              Use this if you like.

              John

              Oh, thanks TIG for a great tool set!

              texttool2D.png

              John | Illustrator | Beaverton, Oregon

              1 Reply Last reply Reply Quote 0
              • TIGT Online
                TIG Moderator
                last edited by

                😳 v3.6 uploaded with corrected 2D Text toolbar icon - now with 'T'...
                http://forums.sketchucation.com/viewtopic.php?p=185760#p185760

                TIG

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CAAD2
                  last edited by

                  Yes, Solved at last! 😄
                  many x many, thankSSS 👍

                  CCCAAAAAAAADDD222

                  1 Reply Last reply Reply Quote 0
                  • TIGT Online
                    TIG Moderator
                    last edited by

                    Bingo

                    I'm not up to speed on the Mac, so perhaps a PM to Edson might help.
                    The one file that goes into Plugins ' 2D#.rb' simply runs load '2Dtools/2D#loader.rb', that in turns loads all of the scripts in the 2Dtools folder that should be in the Plugins folder.

                    I assume you have all of these... The zip file is NOT needed once the files are extracted...
                    There should be one 2D file of any sort [ 2D#.rb] in Plugins, but lots inside the 2Dtools folder.

                    Try typing/pasting this text into the Ruby Console and report what happens...
                    load '2Dtools/2D#loader.rb'
                    You shouldget the toolbar available in View > Toolbars...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • EdsonE Offline
                      Edson
                      last edited by

                      bingo,

                      just create a new folder named plugins at the same place as the others are and then put the .rb file and the 2D tools folder thre, as TIG recommended you to do. it should work.

                      edson mahfuz, architect| porto alegre • brasil
                      http://www.mahfuz.arq.br

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        julyyen
                        last edited by

                        😄 Hi all,
                        I am new on this forum, and I want to tell you that in my opinion it will be nice to exist a possibility to apply vertical dimension between two or many points just clicking on this points (dots) and then the program will generate dimension with a little black triangle and text- +1.00 for example), without
                        ▼
                        showing some auxiliar lines between points.
                        I think it will be very useful when applying this tool to create vertical dimensions on a building.

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @edson said:

                          bingo,

                          just create a new folder named plugins at the same place as the others are and then put the .rb file and the 2D tools folder thre, as TIG recommended you to do. it should work.

                          or, run the podium installer and it will create that folder for you 😉
                          i tried talking with the podium guys about this 6-8 months ago telling them they need to fix their mac install but to no avail.. that folder being in the user directory breaks too many rubies.. what you really should do is move the podium files to the correct spot (macHD/lib/etc..)and delete that plugin folder from the user library.. then, every plugin will work as it should from the one location..

                          anyway, @bingo... the way this ruby comes in needs an extra step to get it working properly.. unzip it on your desktop or in your downloads folder and you'll see a folder called 2Dtools.. inside that folder are two files:
                          another folder called 2Dtools (which contains all the .rb files.. leave those in there)
                          and a file named 2D#.rb

                          place the two files i've highlighted in red to:
                          Macintosh HD/Library/Application Support/Google Sketchup 7/Sketchup/plugins
                          then relaunch sketchup..
                          in SU, go to the view menu/tool palattes and turn on 2Dtools and everything will work as it should.

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • aadbuildA Offline
                            aadbuild
                            last edited by

                            Great tool tig. It is actually helping me convert Auto cad users to sketchup

                            Every building designed can be affordable & buildable, to help we built PlusSpec; VDC & BIM for Sketchup

                            https://www.plusspec.com

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmmad
                              last edited by

                              Thxs Tig
                              this tool is so useful
                              I have only one problem,
                              Line weight and hatches doesn't seem to work Inside nested groups

                              Get Upa !

                              1 Reply Last reply Reply Quote 0
                              • TIGT Online
                                TIG Moderator
                                last edited by

                                @jmmad said:

                                Thxs Tig
                                this tool is so useful
                                I have only one problem,
                                Line weight and hatches doesn't seem to work Inside nested groups

                                I can't get the Line Style Tool to fail to work inside a group... BUT I agreed that the Hatching Tool isn't working inside groups - I'll look into it - look out for an update... 🤓

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • brookefoxB Offline
                                  brookefox
                                  last edited by

                                  Having having tried to 2dt hatch on a group for a while, I saw the caveat. Running the latest, just DL'd. Context menu sometimes shows, more often not. Can't get hatch to work outside of group, either on a face or bounded area. I am just getting started with the 2DT commands but the others seem to be working as far as I have tested. Perhaps I missed a note in the discussion.

                                  Thank you very much. I look forward to getting a handle on things.

                                  ~ Brooke
                                  SU7, MSV

                                  ~ Brooke

                                  1 Reply Last reply Reply Quote 0
                                  • brookefoxB Offline
                                    brookefox
                                    last edited by

                                    I'm relatively new to DL'ing and installing custom plugins and it took me a while to find that the 2dtools were in the drawing menu, logically enough, rather than the plugin or tools menu. Perhaps some other greenhorns might appreciate a note to that effect in the help file.

                                    ~ Brooke

                                    ~ Brooke

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Online
                                      TIG Moderator
                                      last edited by

                                      brookefox

                                      As I said in a recent post, I am looking at why 2D Hatching isn't working in some Group edit contexts... 🤓

                                      Regarding the 'Draw' menu... The Help Introduction makes it clear that the 2D Tools are accessible from the Draw > 2D Tools menu, or probably easier the View > 2D Tools Toolbar - it does say to read the help file first... ❓

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • brookefoxB Offline
                                        brookefox
                                        last edited by

                                        @unknownuser said:

                                        Regarding the 'Draw' menu... The Help Introduction makes it clear that the 2D Tools are accessible from the Draw > 2D Tools menu, or probably easier the View > 2D Tools Toolbar - it does say to read the help file first...
                                        OK, thanks, sorry, I missed that. I read the help first, though apparently not very well.

                                        Uh... I don't get it. Yesterday the below comments applied. Today, without closing the model, hatch is working on both faces and bound areas.

                                        @unknownuser said:

                                        @unknownuser said:

                                        As I said in a recent post, I am looking at why 2D Hatching isn't working in some Group edit contexts
                                        That's why I mentioned it was not working for me in an un-grouped situation; I now say it is not usually working but it is sometimes, which makes me think I'm doing something wrong. The patt_line produces what appears to be a face... and this is what the entity info indicates (iah thought perhaps it is a scaling issue of some kind). At times it seems I was making the mistakes of thinking that if a patt was shown as picked in the selection box that hitting <enter> was the way to accept it; not so, sometimes it seems it must be explicitly loaded. When attempting to hatch a face, a face is created instead of a hatch. when attempting to hatch a bounded area, a hatch results.

                                        Generally, if the hatch is not working, say because I don't call a pattern explicitly with 'open', and I invoke some other command and come back to hatch, it does work. Uh, sometimes double clicking makes the patt call, sometimes not.

                                        Sorry, I'll keep practicing.

                                        ~ Brooke

                                        1 Reply Last reply Reply Quote 0
                                        • brookefoxB Offline
                                          brookefox
                                          last edited by

                                          RE: line styles - Is there a chance or a way unknown by me of making the apparent line segment length independent of the width? E.g., for indicating overhead stuff in plan I want a longer segment with a narrower width than I can get with the current interdependent relationship.

                                          ~ Brooke

                                          1 Reply Last reply Reply Quote 0
                                          • brookefoxB Offline
                                            brookefox
                                            last edited by

                                            I saw the dashed and hidden types: hidden has the longest segment and that is what I'm using; the others, of course have, changing segment lengths. I have only the one pure dot. Thanks.

                                            ~ Brooke

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 39
                                            • 40
                                            • 8 / 40
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement