Is there a simpler example of how to use SpaceMouse with C# managed application? The example given in SDK is several thousand lines long and not very clear how the information is read from the device. I got lost trying to read the code. It is also tailored toward rotation of 3D objects. It does not give a clue how to use SpaceMouse signal for some other interaction not necessarily related to 3D world. Is there any way to get an C# event from the device when user interacts with it? The event would have encoded in which direction of shift / rotation user requested and what is the magnitude? Simple code. Just a SpaceMouse device class with event reporting user interaction.
I also have issue with help files included in the SDK. Those are compiled ".chm" files and somehow on multiple computers with Windows 10 they open only topic titles, but topic content remains completely empty. Is there a bug in those files? All of them are like that.
.NET SDK
Moderator: Moderators
Re: .NET SDK
We have shifted away from that paradigm. Basically, it was easy to get the raw device data but then very difficult to complete an implementation with a consistent (and usable) user experience.
If you're looking for the old SDK (easy access to raw data), see this post.
What SDK package are you looking at? I just opened the doc/Documentation.chm in the package of SDK v. 4.0.2 on a development machine (Windows 10 x64 version 20H2) and all seems well (see below screenshot).I also have issue with help files included in the SDK. Those are compiled ".chm" files and somehow on multiple computers with Windows 10 they open only topic titles, but topic content remains completely empty. Is there a bug in those files? All of them are like that.
Re: .NET SDK
This is puzzling. I'm using latest downloaded SDK 4.0.2. Just downloaded it again (.zip file 3DxWare_SDK_v4-0-2_r17624.zip).
After unzipping i went to V:\Temp\samples\3DxTestNL\Documentation.chm
It opens topic titles but not topic content - see attached screenshot. Tried on three different computers all latest Windows 10.
The one I'm writing is Microsoft Windows [Version 10.0.18363.1646]. Attached is screenshot of what I'm getting. No matter what topic I choose, the effect is the same. Also other ".chm" files from the sdk have the same effect. ".chm" files from other programs open with no issues on the same machines. Here is an example just now on this machine. I opened one of the Microsoft Windows ".chm" files found in C:\Windows\... folders. Attached second screenshot shows no issue.
After unzipping i went to V:\Temp\samples\3DxTestNL\Documentation.chm
It opens topic titles but not topic content - see attached screenshot. Tried on three different computers all latest Windows 10.
The one I'm writing is Microsoft Windows [Version 10.0.18363.1646]. Attached is screenshot of what I'm getting. No matter what topic I choose, the effect is the same. Also other ".chm" files from the sdk have the same effect. ".chm" files from other programs open with no issues on the same machines. Here is an example just now on this machine. I opened one of the Microsoft Windows ".chm" files found in C:\Windows\... folders. Attached second screenshot shows no issue.
- Attachments
-
- Screenshot 2021-07-20 140919.png (37.99 KiB) Viewed 28045 times
-
- Screenshot 2021-07-20 141809.png (68.41 KiB) Viewed 28045 times
Re: .NET SDK
I'm using latest SDK. I tried 3 computers, all latest Windows 10. This third one just downloaded SDK again: 3DxWare_SDK_v4-0-2_r17624.zip
The computer windows version is Microsoft Windows [Version 10.0.18363.1646] Any ".chm" file in the SDK displays only topic title but not content, for example : On the same computer ".chm" files from other applications have no issue opening: Without those help files I find it very difficult to understand SDK managed example.
The computer windows version is Microsoft Windows [Version 10.0.18363.1646] Any ".chm" file in the SDK displays only topic title but not content, for example : On the same computer ".chm" files from other applications have no issue opening: Without those help files I find it very difficult to understand SDK managed example.
Re: .NET SDK
All looks fine from our end. The samples\3DxTestNL\Documentation.chm file is 625,639 bytes in size with the SHA-1 hash 27c0cd205f5205981708b7c477dcf8886d29e109 and MD5 of fc00d6b49b784d9cf3588b52f54388f1.
Check if the CHM is being blocked by your system: right-click the file > Properties > "General" tab and tick the "Unblock" check box if present.
Check if the CHM is being blocked by your system: right-click the file > Properties > "General" tab and tick the "Unblock" check box if present.
Re: .NET SDK
Well, the file matches. The size is 625639 and MD5 code is fc00d6b49b784d9cf3588b52f54388f1. This is the same you posted but this file on three different computers does not show any topic content (nor any other ".chm" file from the SDK for that matter). I tried it to open on my work issued laptop with Windows 10 Enterprise, personal laptop with Windows 10 Pro and personal desktop with Windows 10 Pro to no effect. Each one has its own separate Windows installation not related to each other.
I have full control of the file:
The file is not compressed or encrypted. Only archive and allowing for content indexed attributes are set.
This issue only exists for all ".chm" files from the SDK. Any other ".chm" file that I can find on the three computers opens with no issues.
I have full control of the file:
The file is not compressed or encrypted. Only archive and allowing for content indexed attributes are set.
This issue only exists for all ".chm" files from the SDK. Any other ".chm" file that I can find on the three computers opens with no issues.
Re: .NET SDK
Your system is identifying the file as sourced from a non-secured location or placed in a restricted directory or something.
The files are fine. There's something on your computer blocking access.
Re: .NET SDK
Also, refer to this article on Stack Overflow.