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

    [Plugin] Q JS ALIGN TOOLBAR

    Scheduled Pinned Locked Moved Plugins
    61 Posts 33 Posters 100.1k Views 33 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.
    • bagateloB Offline
      bagatelo
      last edited by

      I change the plugin to show menus in "Plugins" Menu. Now we can set keyboard keys, is very useful to me.

      I thought about a function of "smart drop" for all of the possible directions of the axis, like this, the aligned objects if they would not fix in the most distant part of the object of alignment reference, but they would collide in the surface. Look image example. It would be as the plugin drop, but it would work in all possible directions by axes(9 possibilities, or 6, if we not consider middle). Maybe some keys like SHIFT can change this behavior.


      jsAlign.zip


      before and after.jpg

      While the cat's away, the mice will play

      1 Reply Last reply Reply Quote 0
      • bagateloB Offline
        bagatelo
        last edited by

        Two years later I had another idea. Could someone modify this script to reposition the axes of the selected objects? Maybe by pressing a modifier key on the keyboard, such as alt or shift.

        While the cat's away, the mice will play

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vicspa
          last edited by

          very useful plug-in, thank you 👍

          1 Reply Last reply Reply Quote 0
          • Bob JamesB Offline
            Bob James
            last edited by

            There does not seem to be a way to select which object the others are to align with. I've tried selecting #1 first and then #2, but get the same result if I select #2 first then #1.

            It would be very helpful if you could effectively say "make the other(s)" align with "this one"

            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

              The script was written to work like many 2d align functions. Aligning to min, max or center, but for each axis.
              My original script (without the toolbar has some added functionality like that you can choose "custom" and enter a value (position) in one axis and align to that. When using a group you can choose if the groups max, center or min should align to the value.
              Not exactly what your after but might be useful sometimes.

              Here is the original script (without toolbar).

              JS Align

              1 Reply Last reply Reply Quote 0
              • P Offline
                Prevayl
                last edited by

                This tool is very useful. i just have one suggestion and im not sure if it was already mentioned but do to busy schedule,forgive if this was already suggested.
                But an added feature That functions similar to illustrator would be great where you an evenly distribute the objects(groups) between a distance.
                For example In adobe illustrator you can create 10 boxes and align them to a straight line but then you can equally distribute the spaces in between them based on the box furthest to the left and furthest to the right.
                That feature would make it easy to create a patio for instance with a gap in between each 2x4 and have it evenly spaced

                1 Reply Last reply Reply Quote 0
                • F Offline
                  function
                  last edited by

                  it was brought up about a week ago
                  http://forums.sketchucation.com/viewtopic.php?f=323&t=36006
                  I couldn't get d.bur's suggestion to distribute evenly, so I don't think it's been created yet- I am a huge fan of the adobe style align/distribute box, and I use the OP's mod all the time! Hopefully someone can complete the package sooner or later.

                  remember you can distribute the same object by moving and typing '/#' in the dimension box

                  on a side note:
                  d.bur's align script wouldhowever be a fine addition to this toolbar pack, "Align Along Line" for when ortho just can't do it - 👍


                  abmax_24d.png

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    fatihbarut
                    last edited by

                    thanks alot
                    I really needed this

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fatihbarut
                      last edited by

                      max
                      can we arrange something like this

                      align first clicked group/component to second one?
                      Not moving the second one.

                      Because otherwise it is really not possible to stay the things where they are and have to arrange the position of first and second object everytime we aling...

                      1 Reply Last reply Reply Quote 0
                      • bagateloB Offline
                        bagatelo
                        last edited by

                        I've been watching the tools to align objects in Photoshop, and I thought it would be really cool to have some additional tools to align in Sketchup. I use this plugin "Q JS TOOLBAR ALIGN" too much and I not use the toolbar, because I assign keyboard shortcuts for each function. I think the coolest would be to distribute equally spaced objects in a given axis by objects that would be in extreme.


                        align.jpg

                        While the cat's away, the mice will play

                        1 Reply Last reply Reply Quote 0
                        • pbacotP Offline
                          pbacot
                          last edited by

                          Here's one I've been using for the last umpteen years (PowerCADD). This is in addition to align commands for basic alignments. In any case, if you LOCK an object the rest must align to it. If an object's sides encompass the rest, the others align to it etc. (See picture)

                          The options in the pull down menu are:
                          To each other
                          To next mouse
                          To specified point
                          To Grid
                          (though I don't remember ever needing the last 3--easier just to use move)

                          I think it has a nice clarity but it's only 2d!


                          Screen shot 2012-10-05 at 5.19.24 PM.png

                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                            yes, that is a good way to align/distribute objects in SU. unfortunately my programming skill are nowhere for this. 😞

                            maybe i'll start a new thread to see if any of the masters feels like taking this on.

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @cadfather said:

                              maybe i'll start a new thread to see if any of the masters feels like taking this on.

                              Don't you feel like having a go at this? It's a great project to learn.

                              If you start, then if you get stuck, make a thread and the collective hive will assist. 😄

                              Thomas Thomassen — SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

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

                                Master Thom, you know i'm ok tweaking things...sometimes...after all it is just mechanics.. but this stuff is for people still endowed with the corpus callosum......

                                i'd rather keep using your plugins and keep my lobotomy safe...

                                1 Reply Last reply Reply Quote 0
                                • Bob JamesB Offline
                                  Bob James
                                  last edited by

                                  @thomthom said:

                                  @cadfather said:

                                  maybe i'll start a new thread to see if any of the masters feels like taking this on.

                                  Don't you feel like having a go at this? It's a great project to learn.

                                  If you start, then if you get stuck, make a thread and the collective hive will assist. 😄

                                  How about Pixero? Didn't he create JS Algn orginally?

                                  i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                                    Great plugin, just what I was looking for. I´m always amazed by the plugins to be found for whatever one needs.

                                    Thanks a lot for your work and keep it up!!!!

                                    Santiago

                                    1 Reply Last reply Reply Quote 0
                                    • OsamaAlshamiO Offline
                                      OsamaAlshami
                                      last edited by

                                      I disable "AD Block plus" but I can't see the Links 😡

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

                                        i use 2D graphic softwares like illustrator/corel new to SU.... want to learn how to use Q JS Align tool...

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

                                          Hmmm, not a tool I have used before so I installed it. As the first post in the thread shows a toolbar I simply looked for a toolbar after installing it and would you believe it, it was just sitting there smugly waiting for me.

                                          1 Reply Last reply Reply Quote 0
                                          • frascatiF Offline
                                            frascati
                                            last edited by

                                            @unknownuser said:

                                            Hmmm, not a tool I have used before so I installed it. As the first post in the thread shows a toolbar I simply looked for a toolbar after installing it and would you believe it, it was just sitting there smugly waiting for me.

                                            "smugly"? There's a whiff of Freudian slip there. Depressingly common of these threads when someone gets a little over the top frustrated like myself. Pile on even if you don't have anything really substantial to add such as help to find and use the plugin, or some more elegant method of accomplishing this very fundamental task in Sketchup.

                                            No link in my toolbar. Is there another "bar" i'm missing? Is it the toolbar along the side as "toolbar" would suggest? Or is it in the menus?

                                            It almost does not matter. I looked, again, for solutions to this crap and was once again utterly demoralized by discovering threads I started as long as six months ago that never did eventually address this. For a program like Sketchup not to be able to do this with it's basic functions, and then require an addon script that heaps layers of complexity on top of my principle, oft stated, need is just mind bending.

                                            So Box, with 1600 posts here, and never finding the need for this plugin, would you mind sharing with me your method of accomplishing the following...?

                                            I have two objects on the screen.
                                            neither occupy the same x,y,or z plane.
                                            I want to be able to click a point (a if you will) on both objects and fasten them, or move one to the other, in one move or click. Easy enough at this point with the move tool.

                                            ...click point 'b' on the second object, click any point along the same plane on the first objcet, and align them together on that axis with a single click or move.

                                            ...click point 'c' on the second object, click on any point along the same plane in the first object and with this third operation align them precisely within all axes.

                                            Better yet, by far, would be some method of selecting one object, selecting the second object with the shift or alt key so that they were both selected but understood to be related in the next move, and then having ONE dropdown command under tools to "align objects x,y,z.

                                            So all bad blood aside, please, someone tell me that my request has simply been misapprehended or misworded all along and I am, in fact, able to do this with sketchup wit a few simple commands.

                                            The couple of videos on youtube that address this need to align two objects are JOKES. Moving one point to an anchor on the second object and then fiddling around with the rotate tool, hit or miss, to bring the next two axis points into alignment. Watch these. It's actually laughable.

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

                                            Advertisement