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

    Req: Distribute Spacing plugin.

    Scheduled Pinned Locked Moved Plugins
    29 Posts 13 Posters 1.6k Views 13 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

      There are already some 'Align' tools that might do what you want 'out-of-the-box' - search the SCF 'Plugins Index', or look through Didier's 'Ruby Depot' at crai...

      TIG

      1 Reply Last reply Reply Quote 0
      • X Offline
        xyzt
        last edited by

        I have checked your suggestions, but they don't do what i'm looking for. I came across some very useful plugs do, thanks!

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

          See Align, Distribute tools by Sdmitch πŸ˜‰

          distribute.jpg

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

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            I don't remember hiring Pilou as my publicist but, since he has choosen to advertise my Align and Distribute plugin, there are a few things that need be explained.

            The plugin uses the corners of the bounding box to compute the spatial relationship of the selected objects. The orientation of the object determines where these corners are located. For instance, if the object is on the XY plane, corner(0) is the front lower left and corner(4) is the front upper left. If the object is then rotated 90 degrees around the X axis,what was corner(0) is now corner(2) and what was corner(4) is now corner(0). Simuliar changes occur if the objects are rotated around the Y or Z axis. That is why the alignment option you pick MUST match the situation of the objects.

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • X Offline
              xyzt
              last edited by

              @unknownuser said:

              See Align, Distribute tools by Sdmitch πŸ˜‰

              [attachment=0:2xoeljzs]<!-- ia0 -->distribute.jpg<!-- ia0 -->[/attachment:2xoeljzs]

              Hehe, thanks for suggesting, the funny thing is that sdmitch and I have been PMing back and forth about this plugin. He did a really really great job programming it!. I didn't realized that he already made it available. There where some problems on my mac, but het has just fixed it. I'm really extremely happy with this plugin. It a dream come true. For what I do with sketchup this is a real big time saver. So one big round of applause for sdmitch!

              😍 😍 πŸŽ‰ πŸŽ‰ 😍 😍 πŸŽ‰ πŸŽ‰ 😍 😍 πŸŽ‰ πŸŽ‰ 😍 😍

              1 Reply Last reply Reply Quote 0
              • jolranJ Offline
                jolran
                last edited by

                @unknownuser said:

                Hehe, thanks for suggesting, the funny thing is that sdmitch and I have been PMing back and forth about this plugin. He did a really really great job programming it!. I didn't realized that he already made it available.

                So while you thought Sdmitch was spending labour time working on his plugin you make a request here to see if someone could beat him to it? πŸ˜‰

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nickchun
                  last edited by

                  Just tried this plugin. Very useful thanks. Question though, if you want the spacing to be zero so that objects are touching it doesn't respond. I have to give a spacing of 0.1, but then get cumulative 'inaccuracies' with overall dimensions. Is this a limitation of SU?

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    Currently a spacing of zero triggers the distribution of the objects between the first and last. I could make the trigger a negative distance so zero would be valid.

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

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

                      Sdmitch:

                      I am not sure the how the DOWNLOAD works on your site for the Align&Distribute script and how the script's files should be organized in the user's SU/Plugins directory structure.

                      Please advise.

                      Thanks, John

                      John | Illustrator | Beaverton, Oregon

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nickchun
                        last edited by

                        @sdmitch said:

                        I could make the trigger a negative distance so zero would be valid.

                        Sam, that would be ideal or if you want to let me know what to change in the script so I can modify my copy. It is a good way to check that my components are not overlapping.
                        Thanks...

                        1 Reply Last reply Reply Quote 0
                        • sdmitchS Offline
                          sdmitch
                          last edited by

                          @jclements said:

                          Sdmitch:

                          I am not sure the how the DOWNLOAD works on your site for the Align&Distribute script and how the script's files should be organized in the user's SU/Plugins directory structure.

                          Please advise.

                          Thanks, John

                          In the case of Align & Distribute, the plugin and supporting files are contained in a zip file. Extract them to the Sketchup Plugins folder or where ever you prefer.

                          Nothing is worthless, it can always be used as a bad example.

                          http://sdmitch.blogspot.com/

                          1 Reply Last reply Reply Quote 0
                          • sdmitchS Offline
                            sdmitch
                            last edited by

                            @nickchun said:

                            @sdmitch said:

                            I could make the trigger a negative distance so zero would be valid.

                            Sam, that would be ideal or if you want to let me know what to change in the script so I can modify my copy. It is a good way to check that my components are not overlapping.
                            Thanks...

                            Only one change is required. Change line 172 from

                            space=self.calc_space(@ents) if space==0
                            

                            to

                            space=self.calc_space(@ents) if space<0
                            

                            Nothing is worthless, it can always be used as a bad example.

                            http://sdmitch.blogspot.com/

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nickchun
                              last edited by

                              Thank you very much. Will give it a go...

                              1 Reply Last reply Reply Quote 0
                              • Z Offline
                                zstadel
                                last edited by

                                @xyzt said:

                                @unknownuser said:

                                See Align, Distribute tools by Sdmitch πŸ˜‰

                                [attachment=1:5touco9j]<!-- ia1 -->distribute.jpg<!-- ia1 -->[/attachment:5touco9j]

                                Hehe, thanks for suggesting, the funny thing is that sdmitch and I have been PMing back and forth about this plugin. He did a really really great job programming it!. I didn't realized that he already made it available. There where some problems on my mac, but het has just fixed it. I'm really extremely happy with this plugin. It a dream come true. For what I do with sketchup this is a real big time saver. So one big round of applause for sdmitch!

                                I'm also on a Mac and having problems. The dialog box for alignment isn't loading when I click on Plugins>SDM Tools>CorG Tool>Align and Distribute. If this was the same problem you were having, can you please post the fixes you were PMing about?

                                Thank you
                                Z


                                shot.jpg

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jeronimoven
                                  last edited by

                                  hello,

                                  same problem,

                                  i unzipped the plugin in the plugin folder,

                                  i restarted SU,

                                  but when i click on align and distribute in the plugin menu, i get NO-Thing...

                                  sdmitch, can you help us ?

                                  best regards

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

                                    @sdmitch said:

                                    @jclements said:

                                    Sdmitch:

                                    I am not sure the how the DOWNLOAD works on your site for the Align&Distribute script and how the script's files should be organized in the user's SU/Plugins directory structure.

                                    Please advise.

                                    Thanks, John

                                    In the case of Align & Distribute, the plugin and supporting files are contained in a zip file. Extract them to the Sketchup Plugins folder or where ever you prefer.

                                    Sam, I am guessing that John is seeing the same thing I do when I go to your page listing the plugins you've written and click on "Plugin" for this one. It looks like this:
                                    Screenshot - 2_26_2014 , 4_38_51 AM.png

                                    It looks like the contents of the ZIP file but there's no sign of the ZIP file itself. I've seen this with some of your other plugins as well although I haven't looked through them all.

                                    Clicking on File>Download gets the ZIP file but it isn't all that obvious. I expect he was expecting to see a hyperlink like Align and Distribute.zip.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • panixiaP Offline
                                      panixia
                                      last edited by

                                      @jeronimoven said:

                                      hello,

                                      same problem,

                                      i unzipped the plugin in the plugin folder,

                                      i restarted SU,

                                      but when i click on align and distribute in the plugin menu, i get NO-Thing...

                                      sdmitch, can you help us ?

                                      best regards

                                      same problem here.. i hope there's a way to fix the problem because this plugin looks pretty much amazing.. πŸ‘

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

                                        @panixia said:

                                        @jeronimoven said:

                                        hello,

                                        same problem,

                                        i unzipped the plugin in the plugin folder,

                                        i restarted SU,

                                        but when i click on align and distribute in the plugin menu, i get NO-Thing...

                                        sdmitch, can you help us ?

                                        best regards

                                        same problem here.. i hope there's a way to fix the problem because this plugin looks pretty much amazing.. πŸ‘

                                        Are you preselecting the objects you want to align?

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • BoxB Offline
                                          Box
                                          last edited by

                                          Make sure the folder 'AnD_Support_Files' that is in the zip file is extracted to the plugin folder also. And check that you have the folder security permission set correctly.

                                          1 Reply Last reply Reply Quote 0
                                          • panixiaP Offline
                                            panixia
                                            last edited by

                                            @dave r said:

                                            Are you preselecting the objects you want to align?

                                            yes sir.. i do but nothing happens

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

                                            Advertisement