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.
    • 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 Offline
              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
                                  • hdpvH Offline
                                    hdpv
                                    last edited by

                                    Hi Ken!
                                    Delete files:
                                    C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
                                    and folder
                                    C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
                                    Re-installed from store.
                                    Don't rename file and folder plugin.

                                    Suforyou
                                    http://www.sketchupforyou.com

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

                                      @hdpv said:

                                      Hi Ken!
                                      Delete files:
                                      C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
                                      and folder
                                      C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
                                      Re-installed from store.
                                      Don't rename file and folder plugin.

                                      Oops! my bad, that file was from your Version 1.0.5. I believe you did not have a toolbar with that version, so I added a toolbar. Note, it didn't crash until this version. So why would I rename a file when adding a toolbar. Because I name the icon with the number, and add the number to the tool text. This way I have a reference on what the icon's plugin is, and what the is the name of the icon. On some plugins, it is almost impossible to associate the toolbar icon with the actual RB file. So I guess it caught up to me.

                                      So thank you. Will now be more careful.

                                      Ken

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

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

                                        Hi, I tested the plugin on mac OSX 10.9.3 & SU and it works fine. πŸ‘

                                        "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 will publish it.

                                          Suforyou
                                          http://www.sketchupforyou.com

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

                                            See the folder "es" there is another folder called "es" into it too. Fix this little problem.

                                            "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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement