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

    [Plugin] Point Merger tools v1.2 UPDATED@ 23/06/09

    Scheduled Pinned Locked Moved Plugins
    68 Posts 20 Posters 41.9k Views 20 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.
    • C Offline
      CameronVan
      last edited by

      Thanks for this script. It will prove very handy.

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

        Great script!

        I just tested it and 2 things came up.

        1. I noticed that when I press undo after a point Merge operation it does not undo the entire procedure, rather breaks it down to individual line moves.
        2. I cannot get it to work if the geometry is in side a group.

        If those 2 issue can be addressed this would one of the most useful scripts out there! Well deserve a custom button I think, hint hint CADFather 😎

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

          Oh yes one more thing. Would be great if you can add a CTLR modifier to make the new mesh smooth. Oh I am just been greedy now. Great job πŸ‘ !

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

            @chango70 said:

            1. I noticed that when I press undo after a point Merge operation it does not undo the entire procedure, rather breaks it down to individual line moves.

            I've got this working properly now, and it will be fixed in the next release for the tools.

            @chango70 said:

            1. I cannot get it to work if the geometry is inside a group.

            I'll try to get that fixed too, but maybe not for the next release.

            @chango70 said:

            Would be great if you can add a CTLR modifier to make the new mesh smooth.

            …I probably won't add this, but if I do decided to, it won't be anytime soon.

            Also as a side note, I'm planning on adding a toolbar for them, and am trying to figure out how to add a subfolder and a loader script. I've got the toolbar working, but not with a subfolder or loader, and having the files just sitting in the plugins folder is a bit annoying.

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              πŸ˜’ πŸ˜„

              pmerge_16.pngpmerge_24.png

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

                @cadfather said:

                πŸ˜’ πŸ˜„

                http://forums.sketchucation.com/download/file.php?id=29190

                http://forums.sketchucation.com/download/file.php?id=29191

                πŸ˜„ Nice!
                I'll see if I can make one almost as good for Merge Points to Lines πŸ˜‰

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

                  @cadfather said:

                  :roll: πŸ˜„

                  [attachment=1:cjv1mmue]<!-- ia1 -->pmerge_16.png<!-- ia1 -->[/attachment:cjv1mmue][attachment=0:cjv1mmue]<!-- ia0 -->pmerge_24.png<!-- ia0 -->[/attachment:cjv1mmue]

                  You da man!

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

                    @unknownuser said:

                    @chris fullmer said:

                    Hi John, I think you just need to copy those 2 .rb files into your plugins folder. They don't need to be in the subfolder - unless I'm missing something. I'll edit that out if its wrong.

                    Chris, you're right, they both go into the plugins folder.

                    @chris fullmer said:

                    @BTM - The reason that the class variables are not working correctly (meaning they are not keeping their value during the entire SU session) is because you are declaring the variable in your activate method. So everytime the activate the tool gets activated, it resets the @@max_weld_distance variable back to 0.0.to_l.

                    I know that the variable needs to be outside of a method, but with things like
                    @@max_weld_distance=1.to_l if not @@max_weld_distance
                    it would call it an uninitialized variable, and give an error message.

                    @chris fullmer said:

                    So what you want to do is declare that variable inside the class, outside of the methods. Like this:

                    class MergePoints @@max_weld_distance=0.0.to_l

                    β˜€ It does work! I've been trying if functions, (so that if @@max_wld_distance doesn't have a value, it gets set to 0.0.to_l), but I kept getting error messages, and I guess that an if function isn't necessary. πŸ˜„

                    Hey wow that would be great! πŸ‘

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

                      @unknownuser said:

                      @chango70 said:

                      1. I noticed that when I press undo after a point Merge operation it does not undo the entire procedure, rather breaks it down to individual line moves.

                      I've got this working properly now, and it will be fixed in the next release for the tools.

                      @chango70 said:

                      1. I cannot get it to work if the geometry is inside a group.

                      I'll try to get that fixed too, but maybe not for the next release.

                      @chango70 said:

                      Would be great if you can add a CTLR modifier to make the new mesh smooth.

                      …I probably won't add this, but if I do decided to, it won't be anytime soon.

                      Also as a side note, I'm planning on adding a toolbar for them, and am trying to figure out how to add a subfolder and a loader script. I've got the toolbar working, but not with a subfolder or loader, and having the files just sitting in the plugins folder is a bit annoying.

                      Fantastic! I can't wait for the new version. Great work! 😎

                      1 Reply Last reply Reply Quote 0
                      • CadFatherC Offline
                        CadFather
                        last edited by

                        ..haven't tried the script yet so didn't notice there's two... coming soon....

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

                          ptl_24.png
                          ptl_16.png
                          …these are the icons it has right now, I'll wait to see how yours turn out πŸ‘

                          1 Reply Last reply Reply Quote 0
                          • CadFatherC Offline
                            CadFather
                            last edited by

                            i think these are very good BTM - no need of others.. πŸ‘

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

                              …I also have these ones though…
                              ptl_24.png
                              ptl_16.png

                              …I'll go with your icons for 'Merge Points', but now for Merge Points to Selection (I changed the name, because it works when selecting faces now aswell), I don't know which one to pick πŸ˜„

                              Oh, by the way, they work in groups and components now too. I should have put @model.active_entities instead of @model.entities 😳

                              …I've also included a cursor for 'Merge Points'. It's ugly though, so I'm changing it, and I don't know what the new one should look like. 😐

                              1 Reply Last reply Reply Quote 0
                              • CadFatherC Offline
                                CadFather
                                last edited by

                                looking good..

                                1 Reply Last reply Reply Quote 0
                                • Chris FullmerC Offline
                                  Chris Fullmer
                                  last edited by

                                  Keep up the good work! I am repeatedly impressed with your scripting. You've picked up quickly, and seem to keep going. Now you've got toolbars and cursors. Well done!

                                  Chris

                                  Lately you've been tan, suspicious for the winter.
                                  All my Plugins I've written

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

                                    Thanks for considering my suggestions. I think these two scripts could prove to be "can't do withouts" for people working with terrans/TINs.

                                    John

                                    John | Illustrator | Beaverton, Oregon

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

                                      V 1.2 is now Up, and includes proper undo, a toolbar, and some other improvements, like the use of the VCB for 'Merge Points', and 'Merge Points to Selection', renamed because it now gets the points/ edges of selected faces now too. πŸ‘

                                      1 Reply Last reply Reply Quote 0
                                      • majidM Offline
                                        majid
                                        last edited by

                                        just to show my respect : thanx BTM

                                        My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

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

                                          Great! BTM, thank you.
                                          Can you make it capable for snaping points such als construction points and lines?

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

                                            BTM, is there a way to have the unzip process work smoother? When I extracted the files I only had two folders in my Plugins menu. I had to grab the two rb files and move them into the main Plugins folder. I believe JClements had the same problem Here
                                            Or maybe I did it wrong.

                                            Oh, and the toolbar... I noticed it was checked as on but was not on my screen anywhere. I could not use it and ultimately removed the files from my plugins folder.

                                            And upon loading SU after installing the script my toolbars wacked out again. Rearranged all over the screen. πŸ˜’

                                            Please Google, fix the toolbar prob... oh forget it. They are not listening anymore.

                                            http://www.coroflot.com/boofredlay

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

                                            Advertisement