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 } end
You 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.
Advertisement