This project now uses a protocol bridge instead of synthetic mouse gestures.
- Chrome patches the Onshape page so it exposes the Windows 3Dconnexion client path on Linux.
- A local TLS server on
https://127.51.68.120:8181answers Onshape's3dconnexion/nlproxydiscovery call. - Onshape opens a WAMP websocket to the bridge.
- The bridge reads
spacenavdevents from/var/run/spnav.sockand writes camera state back through Onshape's 3Dconnexion protocol.
- Chrome patch extension:
/home/benlevin/spacemouse-onshape-linux - Python protocol bridge:
/home/benlevin/spacemouse-onshape-linux/protocol_bridge - udev rule for WebHID access if you still need raw HID experiments:
/home/benlevin/spacemouse-onshape-linux/99-spacemouse-webhid.rules
- Keep
spacenavdrunning. - Load the unpacked Chrome extension from
/home/benlevin/spacemouse-onshape-linux. - Start the local bridge from the
protocol_bridgedirectory. - Open
https://127.51.68.120:8181once and allow the certificate exception. - Refresh Onshape.
The old WebHID gesture shim has been removed in favor of the native protocol direction. The remaining work is in the bridge runtime setup and verification.