sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Weld.rb Not Working

    Scheduled Pinned Locked Moved Plugins
    14 Posts 9 Posters 1.3k Views 9 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.
    • Dave RD Offline
      Dave R
      last edited by

      Weld,rb has gone belly up. I am assuming it is some recently downloaded plugin causing a conflict because it hasn't caused me problems before. I ran it on an curve and got the following in the console.

      "Error: #<NoMethodError: undefined method add_group' for #<Sketchup::Selection:0x9c0c7c8>> C:/Program Files/Google/Google SketchUp 8/Plugins/weld.rb:135:in join_edges'
      C:/Program Files/Google/Google SketchUp 8/Plugins/weld.rb:171
      C:/Program Files/Google/Google SketchUp 8/Plugins/weld.rb:135:in `call'
      C:/Program Files/Google/Google SketchUp 8/Plugins/weld.rb:135"

      If I create a closed loop of line segments, it works fine.

      Any ideas as to where I should look?

      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

        Just tried it and it's working fine for me. Curious what could cause a conflict. Alternatively you can use ThomThom's Edge Tools. Simplify Curves set to "0" will weld individual or multiple sets of edges. At least until you get it sorted out.

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

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

          Thanks Adam.

          It's always worked for me before. I have started disabling plugins I've recently installed but so far nothing has changed. I'm thinking there's another plugin that has changed the method or something. (if that's possible.) Strange that it works on a closed loop but not on a non-closed set of lines.

          Weld's been nice because I have a one key shortcut to it. Perhaps I'll have to change my shortcut.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

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

            @ DaveR:
            A shot in the dark. Did you test Recurve, which came out recently? Isn't this, or another recent one sort of a "TurboWeld"? And my point is that maybe some code in one of these has disturbed the code in Weld?

            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

              Good thought, Tim. I disabled recurve.rb and tried again. No workee. Actually running Weld even exploded arcs that weren't exploded before. Thanks for the suggestion, though.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • boofredlayB Offline
                boofredlay
                last edited by

                Recurve caused that problem for a couple of other members mentioned in recent threads. Maybe you could download a fresh Weld.rb script and see if that helps?

                http://www.coroflot.com/boofredlay

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

                  the latest version of Tgi3d 'seemed' to have caused a problem with other bezier plugins the other day

                  when I disabled it's loader ruby the problems went away, and haven't come back when reloaded...

                  it seem to have been the order in which I used the tools that caused the problems...

                  might be worth a try, if you have it...

                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    Recurve messed with some tools with me. Not weld though?

                    Download the free D'oh Book for SketchUp πŸ“–

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

                      I tried disabling recurve but that didn't change anything. I tried disabling TGI3D, too but that didn't change anything. I tried a fresh install of Weld from Smustard but with no success. TIG performed some unknown magic though and all is right with Weld.


                      phpyizdl1.jpg

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • david_hD Offline
                        david_h
                        last edited by

                        and now. . .all is right with the weld. . .er . .. world. πŸ˜‰

                        If I make it look easy...It is probably easy

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Offline
                          Rich O Brien Moderator
                          last edited by

                          Weld done πŸ˜‰

                          Download the free D'oh Book for SketchUp πŸ“–

                          1 Reply Last reply Reply Quote 0
                          • david_hD Offline
                            david_h
                            last edited by

                            all's weld that ends weld. . .

                            Heck. .. we could go all day with this!

                            If I make it look easy...It is probably easy

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

                              Could a ruby be written that would run through all installed rubies looking for possible sources of conflict?

                              http://www.azcreative.com

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

                                No.
                                The clashes are almost all so unexpected and subtle it'd be difficult.
                                Where a script rewrites a base class method it's easy BUT if someone rewrites say progressbar 'that's left dangling' within there own poorly structured code until it breaks a tool using the 'real' progressbar it's hard to prevent...
                                There are a few - like SketchyPhysics that has an occasional clash with say Mirror.rb because it seems to be doing something to mess with the 'Sketchup::Group' class - I still haven' tracked down to a satisfactory conclusion πŸ˜’
                                There is an informal list of 'bad' scripts than should be avoided and others with recoded parts to avoid problems, but I really can't see how we can automate it - reading through a script to find what it's doing is sometimes difficult as it is, let alone passing the task over to 'code'.... πŸ˜•

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement