Page 1 of 1

STL Preview Thumbnails

Posted: May 31st, 2019, 5:22 pm
by Krishty
I have a hard time remembering file names, so I wrote a shell extension to display STL models right in the file icon in Windows File Explorer.

It proved very useful to me; if you want to give it a try: https://papas-best.com/stlthumbnails_en

Feedback is always welcome!

Image

Re: STL Preview Thumbnails

Posted: June 10th, 2019, 8:51 am
by Krishty
I just found out that there’s problems with the thumbnails if UAC is disabled. If anyone has UAC off and doesn’t see any thumbnails, drop me a note and we’ll work it out. I’m looking into a fix.

Re: STL Preview Thumbnails

Posted: June 10th, 2019, 9:33 am
by Roberts_Clif
I have UAC turned off in Windows 7 Pro and Windows 8 Pro have never had any problems.
Will let you know if one arrives?

Re: STL Preview Thumbnails

Posted: June 11th, 2019, 7:08 am
by Krishty
Roberts_Clif wrote: June 10th, 2019, 9:33 am I have UAC turned off in Windows 7 Pro and Windows 8 Pro have never had any problems.
Very useful insight! Could you please check whether HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA exists on your system, and if so, whether it is 0 or 1?

The problems on one user’s computer were related to a value of 0. If yours is not 0 although you have UAC turned off, maybe the problem is more related to Group Policies than to UAC itself.

I’ll sure tell you when a fix is ready – if I can fix such a thing at all.

By the way, today’s version fixes the small overlay Icons in the bottom-right of the thumbnail which are present for every file type but were missing from STLs in earlier thumbnail versions. And it fixes the orientation of exports from recent Solid Edge versions. Today is Microsoft Patch Day, so I recommend installing the handler now and postponing the restart until Windows updates are due.

STL Preview Thumbnails

Posted: June 11th, 2019, 7:20 am
by Roberts_Clif
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA exists
Image2.jpg
EnableLUA exists on system, and it is 0

Re: STL Preview Thumbnails

Posted: June 11th, 2019, 10:03 am
by LePaul
Microsoft as a big update to Windows 10 coming out soon, I read it can be downloaded now but coming soon to the update

Re: STL Preview Thumbnails

Posted: June 11th, 2019, 11:10 am
by Krishty
Roberts_Clif wrote: June 11th, 2019, 7:20 amEnableLUA exists on system, and it is 0
Wow, that’s bad for me. The behavior on the other system was:
  1. Thumbnails didn’t work. Triple-checked all registry keys etc.
  2. User turned UAC on. Thumbnails started working.
  3. User turned UAC off. Thumbnails stopped working.
  4. According to Process Monitor, the HKEY_CURRENT_USER\Software\Classes registry branch was not mapped into HKEY_CLASSES_ROOT as soon as EnableLUA was on. This prevented Explorer from finding the STL preview handler key, although it appeared to be correct in regedit.
  5. Installing the thumbnails for all users on the machine (msiexec /i "Papas Best STL Thumbnails.msi" MSIINSTALLPERUSER="") fixed the problem.
This means they shouldn’t be working with UAC off as long as you don’t perform an all-users installation with the magic msiexec spell. Dang. I guess instead of ripping registry implementation details apart for another week, I should just say “if it works with UAC disabled, good for you; if it doesn’t, I have no clue“ :(

Re: STL Preview Thumbnails

Posted: June 11th, 2019, 5:14 pm
by Roberts_Clif
Ok!

I have worked with computers a long long time and sometimes things just go right for me.

Re: STL Preview Thumbnails

Posted: August 10th, 2019, 1:42 pm
by Krishty
The thumbnails did not work in one of my virtual machines, and I finally found the bug and fixed it in the latest update.

I recommend everyone with similar problems tries it! https://papas-best.com/stlthumbnails_en

A registry key for MIME types was missing.

And just so you know, the STL Viewer’s Windows integretion improved also. It shows up correctly in the Select App to Open dialog and all that (together with the usual performance and stability improvements).