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

    WASD Plugin for SketchUp 2013

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 3 Posters 742 Views 3 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.
    • F Offline
      Florescu
      last edited by

      Hello!
      I was wondering if there is any sketchup plugin that enables WASD navigation for a better handling of the model.
      A good advice will help me a lot.
      Thank you

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

        You could try FPS Nav http://sketchucation.com/forums/viewtopic.php?p=350133#p350133
        You will need to change some of the default keyboard shortcuts for it to work properly.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by

          On Windows, you could use AMS Library for that.

          require 'ams_Lib/core.rb'
          AMS;;Lib.require_all
          
          class MyTool
          
            def activate
              # Activate hook procedure.
              AMS;;InputProc.select_tool(self, true, false, false)
            end
          
            def deactivate
              # Make sure we deactivate hook procedure.
              AMS;;InputProc.deselect_tool(self)
            end
          
            def hk_onKeyDown(key, val)
              # Process message here...
              puts key
              # Return 1 to prevent key from interfering with SU window procedure.
              # Pass any other value (0 preferred) to leave the key alone.
              # In this case we return 1 for w, s, a, d messages, and 0 for the rest.
              %(w s a d).include?(key) ? 1 ; 0
            end
          
            def hk_onKeyExtended(key, val)
              %(w s a d).include?(key) ? 1 ; 0
            end
          
            def hk_onKeyUp(key, val)
              %(w s a d).include?(key) ? 1 ; 0
            end
          
          end # class MyTool
          
          unless file_loaded?(__FILE__)
            item = menu.add_item('My WSAD Tool'){
              Sketchup.active_model.select_tool MyTool.new
            }
          end
          

          You can't use AMS Library for any other platform than Windows, as AMS Library uses MSFT Windows API to achieve such stuff.

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

            Thank you very much. I'll try both options.

            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