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.
    • TIGT Offline
      TIG Moderator
      last edited by

      @pixero said:

      I cant see any snapping points when using the line tool. Bug?

      There aren't any ! Might add some ???

      TIG

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

        2D text has no 'leaders' - it's easy enough to add one as a 2D polyline between the text and the required point. If you want an arrow or 'dot' then add say a text 'point' at the end ?

        TIG

        1 Reply Last reply Reply Quote 0
        • B Offline
          Ben Ritter
          last edited by

          @tig said:

          @ben ritter said:

          TIG,

          Just started to use the tools and all I can say is that they are wonderful. Thank you so much.

          One problem I'm having is getting the hatching command to work. Does not want to initialize, no dialog box, etc.

          Ben

          After hatching has been run once you should get it opening without a dialog, with the last set 'patt' reported on the VCB, right-click in empty-space to get the dialog up to change the 'patt'. Otherwise please run with ruby console open and report error messages...

          TIG,

          I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.

          1 Reply Last reply Reply Quote 0
          • facerF Offline
            facer
            last edited by

            Tig,
            Thank you for ruby, well done.

            Everything appears to work except for 2D Hatching and Text.
            I am unable to activate the 2D Hatching or Text.
            Operating system Windows 2000.

            Here is the ruby consule output for the attempts on Hatching and Text:

            Cancelled 2D Hatching.
            Cancelled 2D Hatching.
            Error: #<NoMethodError: undefined method refresh_thumbnail' for #<Sketchup::ComponentDefinition:0x74ebee0>> C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:126:in activate'
            C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in select_tool' C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in texttool2D'
            C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130
            C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130:in `call'

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              @tig said:

              @pixero said:

              I cant see any snapping points when using the line tool. Bug?

              There aren't any ! Might add some ???

              Please do.

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

                @ben ritter said:

                I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.

                A mystery ! Please give me details of SUp version, OS etc...
                But first can you also try typing/pasting this command into the ruby console to see what happens...

                hatchingtool2D

                The only tile you get the "Cancelled 2d Hatching" message is if you open the dialog and then cancel the dialog, the tool is cancelled too...

                Does this problem happen on a 'brand new' and 'empty' model and/or existing ones ?
                With the ruby console open, if you pick on the tool from the toolbar or menu do you get the cancelled message immediately ? What does the VCB say ? What materials do you have in the Materials Browser ? Any 'PATT' ones ?

                I shall get to the bottom of this ❓

                TIG

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

                  @facer said:

                  Everything appears to work except for 2D Hatching and Text.
                  I am unable to activate the 2D Hatching or Text.
                  Operating system Windows 2000.
                  Here is the ruby console output for the attempts on Hatching and Text:
                  Cancelled 2D Hatching.
                  Cancelled 2D Hatching.
                  Error: #<NoMethodError: undefined method refresh_thumbnail' for #<Sketchup::ComponentDefinition:0x74ebee0>> C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:126:in activate'
                  C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in select_tool' C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in texttool2D'
                  C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130
                  C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130:in `call'

                  See my recent reply to Ben Ritter who has similar problems with Hatching...
                  Can you give me a few more details about the SUp version etc...
                  I suspect you are using an earlier version of SUp that doesn't support definition.refresh_thumbnail ?
                  I'll look into it... ❓ ❗

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SHAHEEN
                    last edited by

                    thanks a lot TIG . u r amazin

                    " An eye for an eye only ends up making the whole world blind "
                    Gandhi

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

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

                      Line inferencing and tooltips improved.
                      Circle VCB messages improved or corrected.
                      Hatching error/glitch fixed.
                      Text error with SUp v<7 fixed.

                      TIG

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

                        gosh! there is no limit to how much you can improve your plugins. i may have said this before, tig, but you are a great asset to this community. 👍 👍

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

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Ben Ritter
                          last edited by

                          @tig said:

                          @ben ritter said:

                          I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.

                          A mystery ! Please give me details of SUp version, OS etc...
                          But first can you also try typing/pasting this command into the ruby console to see what happens...

                          hatchingtool2D

                          The only tile you get the "Cancelled 2d Hatching" message is if you open the dialog and then cancel the dialog, the tool is cancelled too...

                          Does this problem happen on a 'brand new' and 'empty' model and/or existing ones ?

                          With the ruby console open, if you pick on the tool from the toolbar or menu do you get the cancelled message immediately ? What does the VCB say ? What materials do you have in the Materials Browser ? Any 'PATT' ones ?

                          I shall get to the bottom of this ❓

                          TIG,

                          Tried v 2.6 and same happens.

                          In the ruby console, tried your suggestion:

                          hatchingtool2D
                          Cancelled 2D Hatching.
                          #Sketchup::Model:0x5047f78

                          I'm running SU 6.4.112, XP Professional Service Pack 3, brand new model, just the default texture. With ruby console open, I get the message immediately, nothing in the VCB.

                          Thanks for checking into it. Ben

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dedmin
                            last edited by

                            @tig said:

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

                            Line inferencing and tooltips improved.
                            Circle VCB messages improved or corrected.
                            Hatching error/glitch fixed.
                            Text error with SUp v<7 fixed.

                            Google, stop trying to compete with TIG!!!

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dan
                              last edited by

                              Tig, thanks again for your wonderful work, daily updates and your "instant" answers!

                              A suggestion : an "adjust" tool (instead of the requested "extend").
                              ArchiCAD has such a tool and I use it very often.
                              It works like that:

                              • select an entity (line, arc, poly-line, etc.)
                              • choose the "adjust" tool
                              • pick another 2D entity (line, arc, circle, poly-line, etc), or draw a line
                              • the selected 2D entity then is "adjusted" to the last one (shortened if it's longer, extended if it's shorter)

                              I don't know if it's hard to add this to your tools, but it would be very useful to me (and many others, I dare to think).

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

                                Dan

                                The 2D Fillet Tool also acts as a Trim Tool or an Extend Tool - when its value=0.
                                By default its radius/chamfer value=0.
                                Run the 2D Fillet Tool.
                                Pick two Edges.
                                Assuming they intersect...
                                If they are long they are Trimmed
                                If they are short they are Extended.
                                If the Edge owns more that one Face it is not Trimmed as that would destroy the Face !
                                It works on Lines, Polylines, Arcs etc...
                                However, it doesn't remake Arcs to Extend them to the new intersection - just changes the last segment length...
                                What is the difference between this and what you suggest ? I can only see it's this Arc remaking ? 💭

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • PixeroP Offline
                                  Pixero
                                  last edited by

                                  Wow, I really like the trim extend functionality.
                                  It's funny these tools sort of started with my request for a way for my boss (who is learning SU) to draw in 2d. 😆

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

                                    TIG excellent, had not noticed this tool to expand.
                                    If you could achieve to work with arc that would be excellent.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      Dan
                                      last edited by

                                      Tig, thanks for your so fast and explicit reply!
                                      I know what fillet tool can do (and I didn't entirely read your the help file 😳 ).
                                      Truth is that I never tried to extend an arc... but I think that's a SU limitation, knowing that they are approximated by segments.

                                      But what I forgot to add to my previous post is that ArchiCAD "adjust" tool can be applied to more that one 2D entity: one can select as many lines or arcs, etc. at once and they will trim or extend all together and, if boundary line doesn't exist, one can draw an imaginary one.
                                      I hope this make sense.

                                      Actually, a set of real 2D Tools are something I was "officially" asking each time I was in the beta tester team, from @Last to Google, and yours are a major step forward.

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

                                        What you are asking for is an Trim/Extend like CAD where you select the Line(s) etc to Trim/Extend to and then the ones to be edited. The first set doesn't change (unless it's also in the second set !), the second set is adjusted as expected - extending/trimming to the projection of a selected line if appropriate...

                                        In CAD many users use Fillet as a Trim/Extend Tools by setting the value=0 and working on just 2 picked Edges.
                                        The separate Trim/Extend works as outlined above...

                                        I'll think about a separate Tool... ❓

                                        TIG

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

                                          Here's v2.7 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760 ☀

                                          New 2D Polygon Tool added. Similar to 2D Circle BUT can specify number of Sides NNs, length of a Side NNNx OR Radius NNN etc... 2D Circle tool alignment to second-picked point corrected. Help files updated. New tool's Icons added - also CADfather's alternative set updated temporarily until he adds his own...

                                          TIG

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

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

                                            2D Circle and 2D Polygon adjusted - Rotation of 'ghost' ngon/circle drawn as you look to pick the second-point now matches the final one - with vertex at second-point picked...

                                            TIG

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

                                            Advertisement