websocket interface

Post questions, comments and feedback to our 3Dconnexion UNIX and Linux Development Team.

Moderator: Moderators

Post Reply
jtsiomb
Posts: 2
Joined: Sun Oct 25, 2020 10:14 pm
Contact:

websocket interface

Post by jtsiomb » Sun Oct 25, 2020 10:25 pm

I'm the author of the free spacenav driver (http://spacenav.sourceforge.net). I've had a few feature requests in the past few years, to support web-based 3D apps like onshape. Apparently you have an undocumented API for webapps based on websockets, for which I can't seem to find any information. Are you willing to share the necessary details about this onshape/webapp interface required to re-implement it?

UtaSH
Moderator
Moderator
Posts: 3638
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: websocket interface

Post by UtaSH » Tue Oct 27, 2020 8:27 am

Hi,

unfortunately this is not available for Linux. Only for macOS and Windows.

ngomes
Moderator
Moderator
Posts: 2096
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: websocket interface

Post by ngomes » Tue Oct 27, 2020 12:27 pm

Hi jtsiomb,
jtsiomb wrote:
Sun Oct 25, 2020 10:25 pm
undocumented API for webapps based on websockets, for which I can't seem to find any information.
Have a look in the latest SDK for Windows: you will find a "web" directory where we have a few samples for JavaScript programs. The programs use what we named "3DconnexionJS", a JSON-formatted API that connects over the loopback adapter to a proxy server (3dxnlserver.exe).

The SDK can be downloaded from the software developer page in 3Dconnexion's web site here (login required).
Nuno Gomes

jtsiomb
Posts: 2
Joined: Sun Oct 25, 2020 10:14 pm
Contact:

Re: websocket interface

Post by jtsiomb » Tue Oct 27, 2020 6:26 pm

Thank you that's helpful. I'm not very familliar with web-related APIs, but what I can see in the SDK web/ directory seems like a good starting point.

Post Reply