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

    [Plugin] s4u_Align

    Scheduled Pinned Locked Moved Plugins
    45 Posts 16 Posters 28.4k Views 16 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.
    • R Offline
      rv1974
      last edited by

      Hi Hdpv!
      Nice script, thanks for sharing!
      Is it possible to add multiple 'Clone aligning' functionality (with say Cnrl key pressed)??
      In that case PRE-selecting the object to be aligned\copied would be more logical.

      1 Reply Last reply Reply Quote 0
      • hdpvH Offline
        hdpv
        last edited by

        Hi rv1974
        I've thought about it, I will try,
        I don't "Pre-Selecting object" because to easily select multiple objects(press enter or spacebar for finish selecting)

        Suforyou
        http://www.sketchupforyou.com

        1 Reply Last reply Reply Quote 0
        • DETXD Offline
          DETX
          last edited by

          Great many thanks.
          This plug help me very easy align object.
          Hope more features.

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

            Hi, tried using this plugin on Project of mine. Think there is an issue with Glue-ready-components having their axes not aligned to Global axes ?

            Code is scrambled so can't tell what's up, bro πŸ˜‰ ..

            See pic.


            climbinggrip.jpg

            1 Reply Last reply Reply Quote 0
            • hdpvH Offline
              hdpv
              last edited by

              Hi Jolran,
              I'm fixing this error. It was because I used center's face instead of centerbounds's face
              Thanks

              Suforyou
              http://www.sketchupforyou.com

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

                @unknownuser said:

                I'm fixing this error. It was because I used center's face instead of centerbounds's face

                Well you could probably use something like
                centerpoint = face.bounds.center.project_to_plane(face.plane), I gather.

                However I don't think the alignment problem is comming from this ?
                (the Component in pic is flipped backwards/upwards, part from not sticking to the face)

                Are you using the face.normals to align or axes of Components?
                Face normals would be more predictable, possibly. If getting the right nested transformations from the Group/Component, that is.

                Anyway, thanks! Be willing to testdrive next version for some feedback.

                1 Reply Last reply Reply Quote 0
                • hdpvH Offline
                  hdpv
                  last edited by

                  maybe,this problem is your Group/component have scale ,reset scale is no problem
                  I trying fix this problem.

                  Suforyou
                  http://www.sketchupforyou.com

                  1 Reply Last reply Reply Quote 0
                  • JBJDesignsJ Offline
                    JBJDesigns
                    last edited by

                    Hi!

                    I've watched the video several times and have similar objects set-up to mimic what is being demonstrated. I'm not getting the same results; and it's probably because I'm missing something. For instance: I selected "Align Edges" tool; then I selected the edge of the largest object (as demonstrated); then holding down the "CTRL" key, I select the first small box; immediately the first box stretches out in a wedge shape and aligns itself with the larger box; only one object is effected -- if I click on the other small box, nothing happens. It looks pretty simple after viewing the video -- guess I could use some additional help. I've attached a picture to illustrate my point.

                    By the way, your other tools are outstanding especially the S4U to Components (already made a faceted table base and posted it on 3D Warehouse). So thanks for sharing! Jo πŸ˜„


                    Proj_NewToolsTest14.png

                    ...you send them to school, you give them books, and they eat the pages...

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

                      i think this is great, it could increase workflow quite a bit
                      some issues: it seems to flip things upside down when I don't intend on it sometimes -

                      also I think the selection process should be opposite of what it is. right now you select target first and then the object you want aligned, but it makes a lot more sense to select the object you are working on and want to move to be selected first.

                      oh ya when you click the link to download in the sketchucation store plugin, SKP crashes 😲

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

                        @function said:

                        oh ya when you click the link to download in the sketchucation store plugin, SKP crashes 😲

                        Fixed

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

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

                          πŸ‘

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

                            you don't hold control, you just press it

                            1 Reply Last reply Reply Quote 0
                            • hdpvH Offline
                              hdpv
                              last edited by

                              hi JBJDesigns!
                              You can see status bar for instruction,
                              -select target edge(face)
                              -then press Ctrl if you want multiselect
                              -select aligned edge(face)
                              -press again Ctrl for finish select.
                              press Tab for change "align" or "align and move"

                              Suforyou
                              http://www.sketchupforyou.com

                              1 Reply Last reply Reply Quote 0
                              • hdpvH Offline
                                hdpv
                                last edited by

                                press Ctrl,not hold
                                1-select target edge(face)
                                2-then press Ctrl if you want multiselect
                                3-select aligned edge(face)
                                4-press again Ctrl for finish select.

                                Suforyou
                                http://www.sketchupforyou.com

                                1 Reply Last reply Reply Quote 0
                                • unclebimU Offline
                                  unclebim
                                  last edited by

                                  Wonderful plugin! Thanks! I use the Q JS Align plugin all the time but it works only along the three axes and I believe your plugin will go on top of the most used list now.

                                  1 Reply Last reply Reply Quote 0
                                  • hdpvH Offline
                                    hdpv
                                    last edited by

                                    Update s4u_AlignTool_v1.1.0 (25 April 2014)
                                    -Press UP, DOWN or Right Mouse for Mirror after align face

                                    Suforyou
                                    http://www.sketchupforyou.com

                                    1 Reply Last reply Reply Quote 0
                                    • hdpvH Offline
                                      hdpv
                                      last edited by

                                      s4u-AlignTool 2.0.0 (10 June 2014)

                                      • align OUT group,multi-align with press hold Ctrl key.
                                        http://sketchucation.com/pluginstore?pln=s4u_aligntool_v1.0.4

                                      Suforyou
                                      http://www.sketchupforyou.com

                                      1 Reply Last reply Reply Quote 0
                                      • OxerO Offline
                                        Oxer
                                        last edited by

                                        Thanks for the plugin, I created the Spanish Language File. I changed in the translation:

                                        Ctrl --> Ctrl(Pc)/Alt(Mac)

                                        The Ctrl key doesn't work on Mac.

                                        Spanish Language

                                        "The result is the end what is important is the process" by Oxer
                                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                        1 Reply Last reply Reply Quote 0
                                        • hdpvH Offline
                                          hdpv
                                          last edited by

                                          Thanks Oxer!
                                          I haven't checked for Mac yet.
                                          I will update later.

                                          Suforyou
                                          http://www.sketchupforyou.com

                                          1 Reply Last reply Reply Quote 0
                                          • kenK Offline
                                            ken
                                            last edited by

                                            Installed the last version from the store, receive this error message now.

                                            Error Loading File C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb
                                            Error: #<NameError: uninitialized constant S4U::S4u_AlignTool::S4u_aligntoolStrings>
                                            C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:11:in <module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:6:in module:S4U'
                                            C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:3:in <top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require'
                                            C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in register_extension'
                                            C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in <module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:4:in module:S4U'
                                            C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:3:in `<top (required)>'

                                            Note: Re-installed from store. Not sure what happen, but all my toolbar were displaced.

                                            I see that no one else seems to be having this problem.

                                            Thanks for you replies.

                                            Ken

                                            Fight like your the third monkey on Noah's Ark gangway.

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

                                            Advertisement