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

      Version 3.0 is now available here...

      http://forums.sketchucation.com/viewtopic.php?p=185760#p185760

      There has been a general re-write to improve robustness.
      The 'Help' section is now in htm format and suits all platforms,
      A brand new tool 'Adjust' has been added - this allows you to Select a set of Target-Lines and then 'Adjust' [Trim/Extend] Picked Lines to them [Target-Lines can also be Adjusted]. It is quick, intuitive and easy to use - with simple mouse-click-to-pick or mouse-drag-with-button-down-to-multi-select, then double-clicking to toggle between target-select and line-adjust [or exit], there is easy add/remove to targets-set by toggle-key <shift>, clear VCB prompting, and informative color changes to targets-set and the cursor [orange during stage1=select-targets, cyan during stage2=adjust-lines] etc...

      Feedback please...

      TIG

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

        TIG, thank you again for the incredible tools.

        Like Majid, the hatching tool has never worked. Here is what I get with Ruby Console open:

        "Cancelled 2D Hatching.
        Error: #<NoMethodError: undefined method display_name' for nil:NilClass> C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DhatchingTool.rb:134:in onMouseMove'
        C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DhatchingTool.rb:134
        Error: #<NoMethodError: undefined method `display_name' for nil:NilClass>"

        Then this message keeps repeating as I move the mouse.

        Ben

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

          I think I've fixed this '2D Hatching' glitch that some of you were experiencing - I had to try very hard to make it fail on my PC at all, but now I know what the message is it's a bit clearer ! 😒

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

          Please try it and see how it goes...

          😳

          TIG

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            Thanks TIG. I never did have a problem with the hatching but I appreciate your continued attention to detail.

            BTW, immediately above the link for the ZIP file it says that the file is no longer available. I'm guessing that just needs to be edited?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              @dave r said:

              Thanks TIG. I never did have a problem with the hatching but I appreciate your continued attention to detail.
              BTW, immediately above the link for the ZIP file it says that the file is no longer available. I'm guessing that just needs to be edited?

              This Hatching glitch needs you to do a sequence of things when you first run the tool, that then mess it up subsequently ! Took me ages to work out what, as like you I had no problems with it at all...

              I think (hope) that's now trapped...

              I've also edited that initial 'typo' in the post !

              TIG

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

                @tig said:

                I think I've fixed this '2D Hatching' glitch that some of you were experiencing - I had to try very hard to make it fail on my PC at all, but now I know what the message is it's a bit clearer ! 😒

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

                Please try it and see how it goes...

                😳

                I appreciate how quickly you fix things TIG, however, I still can't get the hatching to work with v3.1. It cancels out right away and I don't even get a chance to see anything in the VCB.

                Thanks again for this great script.

                Ben

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

                  @ben ritter said:

                  @tig said:

                  I think I've fixed this '2D Hatching' glitch that some of you were experiencing - I had to try very hard to make it fail on my PC at all, but now I know what the message is it's a bit clearer ! 😒

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

                  Please try it and see how it goes...

                  😳

                  I appreciate how quickly you fix things TIG, however, I still can't get the hatching to work with v3.1. It cancels out right away and I don't even get a chance to see anything in the VCB.

                  Thanks again for this great script.

                  Ben

                  Aaargh! 😠

                  What messages do you get in the Ruby Console ? What is your OS and your Platform SUp version etc... ? It will get sorted - still works for me... 😳

                  TIG

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

                    @unknownuser said:

                    Aaargh! 😠

                    What messages do you get in the Ruby Console ? What is your OS and your Platform SUp version etc... ? It will get sorted - still works for me... 😮ops

                    TIG, like I said, the message in the console is "Cancelled 2d Hatching". That's it.

                    I am running on an HP, quad core, 2.67 ghz, Windows XP/Service Pack 3 and SU 6.4.112.

                    Sorry. 😞
                    Ben

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

                      @ben ritter said:

                      @unknownuser said:

                      Aaargh! 😠
                      What messages do you get in the Ruby Console ? What is your OS and your Platform SUp version etc... ? It will get sorted - still works for me... 😮ops

                      TIG, like I said, the message in the console is "Cancelled 2d Hatching". That's it.
                      I am running on an HP, quad core, 2.67 ghz, Windows XP/Service Pack 3 and SU 6.4.112.
                      Sorry. 😞
                      Ben

                      None of this should be causing a problem ! Although XP+SP3 and SUp v6 is a 'constant', but I can't see how it makes the thing fall over... I'll try some alternatives. I'll continue this by PM with you and Majid... We WILL fix it... 🎉

                      TIG

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

                        TIG:

                        I set my Z at 10'

                        I draw a circle.

                        I import a jpg photo which is placed automatically at Z=0. The image is under the circle.

                        I get the Face Make and click on the point in the circle. The circle gets a face and a color AND the image under gets "painted" too.

                        John | Illustrator | Beaverton, Oregon

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

                          TIG:
                          The hatching tool simply does not engage for me, version 3.0. The bottom left line instruction is only there for an instant, saying choose a pattern and it does not make the call to the folder. I am running XP SP3 with a Pentium 4. Yes, I know it is an old dog, but it limps along.
                          I am getting ready to deploy version 3.1 with the console open.
                          mitcorb

                          EDIT ok 3.1 returns "Cancelled 2D Hatching" in the console and the bottom left message is only there for an instant on activating the hatching button. Repeatedly clicking the tool repeats the console message--no other information, no ruby code or anything.

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

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by

                            TIG, FWIW, it's still not giving me any problems. Hatching works as advertised for me. I opened the console and it remains blank while running the plugin.

                            I wonder what it is that is different between my installation and these folks who are having problems. Is there something we can do to compare installs or something? Is it possible that something else is running that is causing the problem?

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

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

                              Yes, hatching has always worked well for me, also. SU 7 Pro on Vista.

                              I am having an issue with the line tool. Not sure if it's a bug. I try to click once and pull the line out on an axis and then type in the distance in the vcb, however the line doesn't draw and I get a partial construction line. I don't remember it having this glitch in the previous versions. Is this intentional and maybe there is some feature I don't know about?

                              Here's a screen record of what's happening. http://screencast.com/t/vcIikXHeg7

                              Thanks!

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

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

                                @jclements said:

                                TIG:
                                I set my Z at 10'
                                I draw a circle.
                                I import a jpg photo which is placed automatically at Z=0. The image is under the circle.
                                I get the Face Make and click on the point in the circle. The circle gets a face and a color AND the image under gets "painted" too.

                                Thanks for the feed back.
                                I that case - make a Face for the Circle by using the Normal Line Tool and drawing over one of the Circle's Segments. The Image Face won't change now.
                                What I do in the next release is either to have a <Shift> toggle so that it makes Faces only to found Loops without Faces OR toggled it makes Faces to all found Loops including existing ones and <defaults> the Material and flips it up if needed OR alternatively I might just limit the Making of Faces to any Loops on the Z (in your case at 10'). I might also need to do this for Hatching as it works in a similar way... I'll make a decision about which way to do it shortly...

                                TIG

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

                                  @earthmover said:

                                  Yes, hatching has always worked well for me, also. SU 7 Pro on Vista.
                                  I am having an issue with the line tool. Not sure if it's a bug. I try to click once and pull the line out on an axis and then type in the distance in the vcb, however the line doesn't draw and I get a partial construction line. I don't remember it having this glitch in the previous versions. Is this intentional and maybe there is some feature I don't know about?
                                  Here's a screen record of what's happening. http://screencast.com/t/vcIikXHeg7
                                  Thanks!

                                  Thanks for the feed back...
                                  The Hatching issue seems related to XOsp3 and v6 BUT I am on to a fix for those users... I would like to know if the LineStyle Tool works for those with Hatching problems, and what happens if they right-mouse click when hatching is failing...

                                  The Line Tool didn't use to do this - a fix on the inferencing has made this new glitch... I'm onto a fix - watch for next release next week... The problem is that the <Enter> after the VCB input seems to be taken as a 'end this line-set' command and the line isn't made and the temporary cline/cpoints etc don't get tidied up like at other times... I think a fix will be relatively easy... ❓

                                  TIG

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

                                    Thanks TIG! Regular line tool will do for now.

                                    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

                                      2D Hatching

                                      Any possibility to automatically orient the fill pattern to a rectalinear loop or to an edge of a loop? Perhaps use a two click method or use the current model axis rather than the default axis.

                                      John | Illustrator | Beaverton, Oregon

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

                                        @tig said:

                                        ... OR alternatively I might just limit the Making of Faces to any Loops on the Z (in your case at 10'). I might also need to do this for Hatching as it works in a similar way... I'll make a decision about which way to do it shortly...

                                        I think using the current Z to pick the loops is a logical, useful method.
                                        ? Could your code also check to see if there is a selection set first, then automatically fill the selection set? This way the user could do a select all or go to an orthographic view (ie., front or left) with the camera in in parallel projection mode and easily select geometry at specific Z elevations and then Fill.

                                        John | Illustrator | Beaverton, Oregon

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

                                          TIG: Here is a skp for your review of linestyle experiment with some other operations as described in the text in the model.


                                          trial of linestyle tool in 2dtools and related operations

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

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

                                            TIG wrote:
                                            "Thanks for the feed back...
                                            The Hatching issue seems related to XOsp3 and v6 BUT I am on to a fix for those users... I would like to know if the LineStyle Tool works for those with Hatching problems, and what happens if they right-mouse click when hatching is failing..."

                                            What I am seeing is this: (in two tries, with different geometry)
                                            Linestyle tool activates, instruction line describes what to do, selection happens, dialog appears on right click, example select: hidden, 36 width, crimson, ok. Selected lines are displayed in a fine dotted style thinner than the SU default. Zoom very close in on that, and the width is obviously different, but it is displayed as continuous, and black. Nothing in the ruby console. "Enter" does not end the tool for me. I must hit the spacebar.
                                            XP SP3 Last update of SU6 Pentium4 NVidia GeforceMX400, or something like that. Old Dog.

                                            ps At about 150 feet above the zplane, the selected lines are displayed as thin, and dashed.
                                            Does any of the info above help?

                                            EDIT: NVidia GeForce2 MX/MX400 is the graphics card, 1.6Ghz for the Pentium, 1G main board ram

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

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

                                            Advertisement