sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] JS Align - Update

    Scheduled Pinned Locked Moved Plugins
    16 Posts 10 Posters 16.8k Views 10 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      Bob do you use Sketchyphysics? I have had Mac users not be able to use their arrow keys if they have SketchyPhysics installed. And I can't remember if Chris fixed that issue.....?

      Also, to test Jan's snippet there, you might open the Ruby Console and type in:

      RUBY_PLATFORM

      and see what it prints to the console. Copy and paste that back here.

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

      1 Reply Last reply Reply Quote 0
      • utilerU Offline
        utiler
        last edited by

        Thanks Jan, great little tool....! πŸŽ‰

        Just Curious...

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

          @chris fullmer said:

          Bob do you use Sketchyphysics? I have had Mac users not be able to use their arrow keys if they have SketchyPhysics installed. And I can't remember if Chris fixed that issue.....?

          No, I don't have Sketchyphysics installed on either machine.

          @chris fullmer said:

          Also, to test Jan's snippet there, you might open the Ruby Console and type in:

          RUBY_PLATFORM

          and see what it prints to the console. Copy and paste that back here.

          See attachment.


          After entering RUBY_PLATFORM in the Ruby Console

          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

            Bob, check your PM.

            1 Reply Last reply Reply Quote 0
            • H Offline
              hkgiordano
              last edited by

              Thak You, a very useful tool

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

                @pixero said:

                There might be something wrong with this part of the script:

                elsif RUBY_PLATFORM == "powerpc-darwin" then            # Mac OSX 
                >     $leftArrow = 63234       # Arrow Left Key 
                >     $upArrow  = 63232        # Arrow Up Key 
                >     $rightArrow  = 63235     # Arrow Right Key 
                >     $downArrow = 63233       # Arrow Down Key 
                >     $altKey  = 524288        # Alt/Option Key 
                >     $shiftKey = 131072		# Shift Key
                >     $controlKey = 1048576	# Command (Apple) Key
                > end #if
                

                Anyone with a Mac that can test if it's correct?

                The SU API Docs suggest this code to detect Mac or PC: http://code.google.com/apis/sketchup/docs/faq.html
                PLATFORM = (Object::RUBY_PLATFORM =~ /mswin/i) ? :windows : ((Object::RUBY_PLATFORM =~ /darwin/i) ? :mac : :open_mouth:ther)
                It simply looks for the existance of "darwin" in the PLATFORM constant string.

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

                1 Reply Last reply Reply Quote 0
                • K Offline
                  krmccurdy
                  last edited by

                  Great tool! This will save LOADS of time with site files.

                  Thanks!

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

                    One thing is needed to make this tool perfect:
                    Respect current UCS.

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      There is an update available in the PluginStore to suit SketchUp v2014
                      http://sketchucation.com/pluginstore?pln=jsAlign

                      TIG

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

                        The one on my site is now also v1.6.
                        Thanks to TIG. πŸ‘

                        1 Reply Last reply Reply Quote 0
                        • pep75P Offline
                          pep75
                          last edited by

                          Great plug-in! But would it be possible not the change an object's position when you lock it? This would make the plug-in perfect.... πŸ˜›

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

                          Advertisement