Munkies World of ...‎ > ‎Blender‎ > ‎

The SpaceNavigator Addon

This is my attempt to write a blender addon to support my SpaceNavigator Device.




This is my SpaceNavigator. Navigating in blender using the mouse is possible. But I thought it may be nicer to have some kind of 3D mouse instead. The SpaceNavigator seems to be quite popular, but unfortunately it was no longer working since blender version 2.5. 

Therefore I have written a little addon for the SpaceNavigator support. You can find the result in the files section. It is free to use. Any comments appreciated. Please send them to munkiesworld@yahoo.de.





The addon consists of two parts: 

This is the blender python addon that polls the navigator device and updates the 3DView. 

This is a python C extension that handles the directx access of the navigator device. The C extension is only available for windows 32bit by now. I have created a 64bit version also, bit this is completely untested! 
You can download the binary or build this file yourself using the sourcefiles (typically you will need the Release version).




Here some instructions to get it running:
  1. Open the "User Preferences..." Dialog, install the "3DView SpaceNavigator" addon and put the .pyd file somewhere in your search path (e.g. C:\Program Files\Blender Foundation\Blender\2.57\python\lib).
    You can also just copy the two files into your addon directory (which is typically in your user directory e.g. "C:\Users\<username>\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons").


  2. Open the "User Preferences..." Dialog and activate the "3DView SpaceNavigator" addon.

  3. Open the Tools window in a 3DView and press the "Activate Navigator" button in the "SpaceNavigator" Panel.

That's it. Now you should be able to use your SpaceNavigator to move around in your 3DView.