Procházet zdrojové kódy

Added Spacemouse post

Thomas Buck před 8 roky
rodič
revize
1d6ed70450

+ 43
- 0
input/blog/2016/2016_05_25_spacenav_plus.md Zobrazit soubor

@@ -0,0 +1,43 @@
1
+title: Blog
2
+post: Spacenav-Plus for Mac OS X
3
+date: 2016-05-25
4
+comments: true
5
+flattr: true
6
+github: https://github.com/xythobuz/spacenav-plus
7
+parent: stuff
8
+position: 100
9
+---
10
+
11
+## {{ page["post"] }}
12
+<!--%
13
+from datetime import datetime
14
+date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%B %d, %Y")
15
+print "*Posted at %s.*" % date
16
+%-->
17
+
18
+Since I've got my [Fabrikator Mini 3D printer](http://solid-snake.local/2016_03_24_marlin_fabrikator_mini.html), I've spent some timer [creating things](http://www.thingiverse.com/xythobuz/designs), mainly with [OpenSCAD](http://www.openscad.org).
19
+
20
+I've still got an old [Spacemouse Classic](http://spacemice.org/index.php?title=Spacemouse_Classic) laying around. It's 20 years old at this point and my model connects to a computer using a RS232 serial connection.
21
+
22
+<div class="lightgallery">
23
+    <a href="img/spacemouse.jpg">
24
+        <img src="img/spacemouse_small.jpg" alt="My Spacemouse Classic">
25
+    </a>
26
+</div>
27
+
28
+This device has originally been [developed by the DLR (Deutsches Zentrum für Luft- und Raumfahrt)](http://www.dlr.de/rmc/rm/en/desktopdefault.aspx/tabid-9467/16255_read-8998/), then found it's way to Logitech and later 3Dconnexion. You can still get [their original drivers](http://www.3dconnexion.de/service/legacy-driver.html) for Windows XP and Linux, but they probably won't run on any modern system.
29
+
30
+There is an open-source replacement for the Linux driver, called [spacenav](http://spacenav.sourceforge.net) / [spacenav-plus](https://github.com/BenBergman/spacenav-plus) ([fork](https://github.com/Tehrasha/spacenav-plus)), that can interface the serial Spacemouse Classic on most POSIX systems and even has support for USB based Spacemice, but only on Linux. It also completely emulates the original 3Dconnexion Linux driver interface, using X11 events. Alternatively, the data can be gathered using a simple POSIX file socket.
31
+
32
+I've [created my own fork of spacenav-plus](https://github.com/xythobuz/spacenav-plus), modifying the build system to support building on Mac OS X. I've also reimplemented the official 3Dconnexion Mac OS X driver interface, resulting in a 3DconnexionClient.framework that should allow using the spacenav-plus driver with [most supported software](http://www.3dconnexion.de/supported-software/software0.html). I've tested Google Earth and Blender.
33
+
34
+Finally I've created/modified [patches for both OpenSCAD and FreeCAD](https://github.com/xythobuz/spacenav-plus#using-it-in-other-programs) to allow them using the spacenav-plus file interface on Mac OS X.
35
+
36
+<div class="lightgallery">
37
+    <a href="img/spacemouse_ledstrip.jpg">
38
+        <img src="img/spacemouse_ledstrip_small.jpg" alt="My Spacemouse Classic">
39
+    </a>
40
+</div>
41
+
42
+And something interesting I've noticed: even though the Spacemouse Classic is using optical sensors to track movements, it's picking up much noise from the LED strip I've mounted under my work bench. I simply can't use the Spacemouse while this light is plugged in!
43
+

binární
static/img/spacemouse.jpg Zobrazit soubor


binární
static/img/spacemouse_ledstrip.jpg Zobrazit soubor


binární
static/img/spacemouse_ledstrip_small.jpg Zobrazit soubor


binární
static/img/spacemouse_small.jpg Zobrazit soubor


Loading…
Zrušit
Uložit