WASD Plugin for SketchUp 2013
-
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 -
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. -
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 } endYou can't use AMS Library for any other platform than Windows, as AMS Library uses MSFT Windows API to achieve such stuff.
-
Thank you very much. I'll try both options.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement