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.
    • JClementsJ Offline
      JClements
      last edited by

      Once again, thank you, TIG.

      However ...

      Loading Error.png

      I tried the script in SU6, SU7.0, and SU7.1. All gave the same error message.
      I tried to search the text string shown in the error messaage via Windows Explorer and Note Pad Pro and found no file containing the string.

      [UPDATE]

      I do have Chris Fulmers and Fredo's scripts installed, both of which used "loaders". Could there be a conflict there?

      John | Illustrator | Beaverton, Oregon

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

        Sorry ! 😳 I made a typo in the 'tidyup' folder path [which only caused an error if you threw away everything and reinstalled absolutely everything !]... now fixed...

        v3.3 is now available here http://forums.sketchucation.com/viewtopic.php?p=185760#p185760

        TIG

        1 Reply Last reply Reply Quote 0
        • honoluludesktopH Offline
          honoluludesktop
          last edited by

          TIG, Very nice. Hmm... The tiger tail is no longer on my screen, and when 2dFreehand is active, the shadow under the SU drop down menu flutters, and eventually SU hangs (can not click anywhere). If I run a SU tool before SU hangs, the fluttering stops. Turned off all OpenGl settings, but no difference. Maybe a problem unique to my system ?-(

          I guess an eventual step would be to "select a active plane" on which to draw. I always wonder how SU knows that a entity is on a face. Can't be the math, it could never be accurate enough.

          Addendum: The tail is on again. 3.3? back to reload 🙂 Still flutters 😞

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

            TIG:

            Script loads fine now, thanks.

            Tools work pretty well. Nice job. I really like being able to use the tab key during line drawing to change the elevation for the second click. Also the ability to input absolute or relative values; this gives us a lot of flexibility.

            I see that if a tool is used in white space, then the tip of the Cursor can have a lot of white space between it and the geometry being drawn. If an inference is used with the first click, then it is not an issue.
            ?Anyway to direct the cursor icon to the imaginary Z-Plane if drawing in white space?

            The "Bonk" when tabbing during a line draw is a little ... well, can we toggle that off?

            2D Face Maker and 2D Hatching tools do their job if there is geometry or a guide point inside a loop but if not then user has more to do. What about initiating a new mode when the ALT key is kept depressed? The user clicks on a segment or vertex of the loop and drags inside the loop to define the area needing a fill and releases the mouse? Could this also define the alignment of the Hatching too?

            CAD Father's icons are not mapping to my toolbar correctly. Looks like they are all shifted one icon to the left.

            ========

            Maybe later on, if it would not slow down performance or cause display problems, have a toggle option to tint either the geometry not on the Active Z-Plan or the geometry on the Active Z-Plan.

            John | Illustrator | Beaverton, Oregon

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Does exist a little video of this plug on youtube?

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

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

                @jclements said:

                TIG:

                Script loads fine now, thanks.

                Tools work pretty well. Nice job. I really like being able to use the tab key during line drawing to change the elevation for the second click. Also the ability to input absolute or relative values; this gives us a lot of flexibility.

                I see that if a tool is used in white space, then the tip of the Cursor can have a lot of white space between it and the geometry being drawn. If an inference is used with the first click, then it is not an issue.
                ?Anyway to direct the cursor icon to the imaginary Z-Plane if drawing in white space?

                The "Bonk" when tabbing during a line draw is a little ... well, can we toggle that off?

                2D Face Maker and 2D Hatching tools do their job if there is geometry or a guide point inside a loop but if not then user has more to do. What about initiating a new mode when the ALT key is kept depressed? The user clicks on a segment or vertex of the loop and drags inside the loop to define the area needing a fill and releases the mouse? Could this also define the alignment of the Hatching too?
                CAD Father's icons are not mapping to my toolbar correctly. Looks like they are all shifted one icon to the left.

                Use myicons then !

                FaceMaker/Hatching will work IF you are reasonably vertically located above the FAce - it is a2D Tool after all...

                Maybe later on, if it would not slow down performance or cause display problems, have a toggle option to tint either the geometry not on the Active Z-Plan or the geometry on the Active Z-Plan.
                /

                I'd love to be able to fix an 'input_point' from a 3D point - any helpers ?

                I could consider extending the MakeFace and Hatching tools to allow you to pick an Edge and then it'd find the Faces - however, picking inside the loop determines where the Face is - but picking an Edge allows at least 2 Faces...

                The Bonkis there to tell you you have just exited the 2D Line drawings mode and gone into changing the Z-plane mode...
                To de-Bonk your TAB key open the file 2DlineTool.rb in a plain text-editor [like NotePad.exe] and find the line with UI.beep in it add a # to the start of it, so it reads #UI.beep ... save the file and restart SUp - then there's NO more Bonks! 😉

                Thanks for the feedback... we will continue to evolve...

                TIG

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

                  @unknownuser said:

                  Does exist a little video of this plug on youtube?

                  NO ! Perhaps you could make one... I'm too busy making these Tools to 'sell' them too...
                  [NON! Peut-être vous, pourrait le faire... Je suis trop occupé à faire ces outils pour «vendre» eux aussi ...] 😉 🤓

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DIEGO-RODRIGUEZ
                    last edited by

                    hi tig. I have been testing its 2dtools tool.
                    I found finding a mistake.
                    1 - Extend the line from the farthest node to the destination line. superimposing two lines
                    2 - I still generates an error, let alone when the left mouse button pressed to extend the lines

                    I tested on sketchup 6 to 7 and 7.1

                    it may solve the problem?

                    [flash=425,344:3q2gwkcx]http://www.youtube.com/v/zN3dIAThsvA[/flash:3q2gwkcx]

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

                      elcorto

                      You are right. 😳 The Adjusted Lines should be re-made without their former ends being left behind - I'll check what's wrong and issue an update.

                      The Select by Dragging was really made for Selecting the Targets, but it CAN be used for Selecting the Lines to be Adjusted, BUT as it warns in the Help file ... if you Drag-pick a Line more than once you can get strange results - it's still under development - it is the newest of the Tools after all... If using it breaks that way then please use the 'Pick' method for now... 🤓

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • EarthMoverE Offline
                        EarthMover
                        last edited by

                        Good to hear that that there is no Arc extend (yet!). Looking forward to that addition. I have been using this script for so many things. Works awesome for drawing contour lines. Set an elevation and just draw without worrying about inferencing.

                        If no one else does, I'd be happy to put together a visual walkthrough of the plugin and the different tools available.

                        Many thanks again TIG!!

                        3D Artist at Clearstory 3D Imaging
                        Guide Tool at Winning With Sketchup
                        Content Creator at Skapeup

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

                          EarthMover:

                          Glad it is working for you for doing elevation work. Same here!

                          John | Illustrator | Beaverton, Oregon

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            @unknownuser said:

                            If no one else does, I'd be happy to put together a visual walkthrough of the plugin and the different tools available.

                            Cool! You can make that! ☀

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

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

                              Hi, TIG:
                              2d hatching is still not working for me in v3.3.
                              Still getting the "cancelled 2d hatching" phrase in the ruby console.

                              I extracted the zip file and overwrote the previous version. I did not delete any files, first.
                              If 3.3 was supposed to correct this, it did not work for me.
                              Thanks,
                              mitcorb

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

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

                                @mitcorb said:

                                Hi, TIG:
                                2d hatching is still not working for me in v3.3.
                                Still getting the "cancelled 2d hatching" phrase in the ruby console.
                                I extracted the zip file and overwrote the previous version. I did not delete any files, first.
                                If 3.3 was supposed to correct this, it did not work for me.
                                Thanks,
                                mitcorb

                                I hoped it would fix it when I introduced relative paths 😢 : please paste these lines into the Ruby Console one at a time, and report what happens: use the first line [6] or second line [7] if that's your version...

                                folder="C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/Hatching/" folder="C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/Hatching/"

                                then these two lines...

                                file1=Dir[folder+"*.jpg"].last UI.openpanel("Choose HATCHING...",folder,file1)

                                If you have a different file path to the Hatching folder adjust the first line to suit - note it's a / NOT a \ in text...

                                Report any messages or what happens at each step - like a dialog opening ! [I hope]

                                We will fix this... 🤓

                                TIG

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

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

                                  v3.4 20091010 Adjust Tool now allows 'Lone Arc Extension' as well as Trim etc.
                                  NOTE: This Lone Arc Extend Mode is in its first beta release and might be prone to error – please save before using and feedback any details that will improve its development...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • ArcA Offline
                                    Arc
                                    last edited by

                                    [quote="TIG"]Here's v3.4 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760

                                    2D Text, it's not on my set z-plane.

                                    1 Reply Last reply Reply Quote 0
                                    • GaieusG Offline
                                      Gaieus
                                      last edited by

                                      @tig said:

                                      ...If you really must have it snap to the Z-plane them I can easily do you a personalized version that does so... ❓

                                      That's quite a generous offer, TIG! 😉

                                      Gai...

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

                                        @arc said:

                                        @tig said:

                                        Here's v3.4 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
                                        2D Text, it's not on my set z-plane.

                                        2D Text was not made to be fixed onto the Z-plane because so many asked for more flexibility in placing it - 2D Text has uses beyond pure 2D drawing - like the 2D Fillet Tool. However, it does snap to the horizontal/face...

                                        If there is enough 'reverse pressure' to get it to snap all 2D Text to the Z-plane I'll change it - it's no big deal - much of the code is in there, it's just 'disabled'... ☀

                                        If you really must have it snap to the Z-plane then I can easily do you a personalized version that does so... ❓

                                        TIG

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

                                          @gaieus said:

                                          @tig said:

                                          ...If you really must have it snap to the Z-plane then I can easily do you a personalized version that does so... ❓

                                          That's quite a generous offer, TIG! 😉

                                          Not so generous... most of the code is already in there but disabled/unused... I just need to 'free' it... 🤓

                                          TIG

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

                                            TIG:
                                            I copy/pasted as you instructed, with no apparent reaction in the console at each step. Then I drew two overlapping 2d rectangles, applied 2d faces to each. Then I tried to activate the 2d hatching tool and got the "cancelled" statement.

                                            EDIT: The attachment hopefully shows the console open and the inputs. If not, I will do a jpg.


                                            2dhatchinguploadfile.skp


                                            2dhatchinguploadfile.jpg


                                            2dhatchinguploadfile.JPG

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

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

                                            Advertisement