HNHacker News
TopNewBestAskShowJobs

eyhn

49 karma · joined April 9, 2022

https://github.com/EYHN
submissionscomments
eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
I tried to use sharpshell and C# to do this at first, but the tools for sharpshell are too old and not maintained for years.

Then I found microsoft/windows-rs and it was very easy to implement the COM interface using Rust, all thanks to the work of microsoft/windows-rs, but there is not a lot of documentation about this and you need to read a lot of code.

eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
You are definitely right, I have added them to the readme
eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
Yes, there is a roadmap here https://github.com/EYHN/space-thumbnails/issues/1
eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
Sorry, it is a preview version, it may get stuck when large models or error files, I will try to fix this issue in next version.
eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
In fact, this is just a preview version, there is still a lot of room for speed optimization, such as the current re-initialization of rendering contexts for each generation, caching contexts can save a lot of time
eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
Yes, there is a command line program in the repository https://github.com/EYHN/space-thumbnails/tree/main/crates/cl...

USAGE: space-thumbnails-cli.exe [OPTIONS] --input <INPUT> <OUTPUT>

Currently it is not released in github release, you need to build it manually. It is written in rust, if you don't know much about rust, let me know I can help you.

eyhn··on Show HN: 3D model file thumbnails for Windows Explorer
You are right, thanks for reminding