I wrote a bloat-free STL viewer

Discussion of ANY 3D printing topic you desire!
User avatar
Krishty
Reactions:
Posts: 29
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty »

LePaul wrote: April 29th, 2018, 11:12 pm Did the Thumbnail preview version make it over yet...that's something I would really like. I do like your program, I use yours and the MS one to quickly open and identify what those STLs are
I had too little time to finish the thumbnails, but I PM’d you beta access :)
User avatar
LePaul
Reactions:
Posts: 3963
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul »

Thanks! Just saw that
danilius
Reactions:
Posts: 122
Joined: April 21st, 2016, 5:29 pm
Location: Salford, United Kingdom
3D Printer(s): Ultimaker 2

Re: I wrote a bloat-free STL viewer

Post by danilius »

Just tried this out on a 176mb STL file, it opened in just under a second. For files around the 10mb mark, it looks like the app takes longer to start than it does to display the file, so that's as close to instant as possible. Scrolling through files below the 20bm mark is almost instant. Brilliant! Many thanks.
amandalove
Reactions:
Posts: 3
Joined: February 19th, 2019, 3:36 pm
3D Printer(s): Fused Deposition Modeling (FDM)

Re: I wrote a bloat-free STL viewer

Post by amandalove »

Hi! Krishty,
I got the latest version Thank you so much! Actually, I have a printing firm in the USA and this will help me a lot. Many Thanks again.
User avatar
Krishty
Reactions:
Posts: 29
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty »

Amanda,

beautiful boxes you have there! Since I last posted here (almost a year ago, the time flies), I improved the setup, lowered the system requirements even more, fixed many small errors, and improved performance. With feedback like yours, I feel that work was really worth it :)

If you have any problems or questions, don’t hesitate to ask me …
User avatar
LePaul
Reactions:
Posts: 3963
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul »

@Krishty glad to see you back

I love your program, if you have a website I can share, I would love to give it a mention on my YouTube Channel (Where Nerdy Is Cool)
User avatar
GrueMaster
Reactions:
Posts: 522
Joined: March 15th, 2017, 8:46 pm
Location: Oregon
3D Printer(s): Hictop 3DP-17, Hictop CR-10S

Re: I wrote a bloat-free STL viewer

Post by GrueMaster »

@Krishty Also, did you ever get permission to release the source? I'll understand if that is not an option, but if it is, I'd like to examine it and see if I can make a native Linux version (wine can be tedious, even for the more experienced).
User avatar
Roberts_Clif
Reactions:
Posts: 1372
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: I wrote a bloat-free STL viewer

Post by Roberts_Clif »

If the program was written with Visual Studio's Visual C++ including Linux is simple enough.

https://devblogs.microsoft.com/cppblog/ ... ith-cmake/
or
https://devblogs.microsoft.com/cppblog/ ... al-studio/
User avatar
Krishty
Reactions:
Posts: 29
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty »

@LePaul Hi!

Cool channel – my website is https://papas-best.com, with the STL Viewer at https://papas-best.com/stlviewer_en … feel free to mention anything. If you need information that cannot be found on the website, just ask me :)

I added the link to my signature, if that’s okay with the forum rules …



@GrueMaster, @Roberts_Clif: No problem; you should have gotten a private message with the source code. However, don’t get your hopes up too high:
  1. While Visual C++ has Linux support, it can only compile platform-independent applications.
  2. The STL Viewer uses Direct3D 11 for rendering (supported on any system with Windows 7 or later; no need to install special drivers; brings its own software renderer for weak systems), and a Linux port would mean re-writing the renderer in OpenGL or Vulkan.
  3. The STL Viewer uses the native Win32 API for its user interface. For a Linux port, one would have to use a platform-independent library like GTK or Qt. I looked at Qt and it would increase program size from just 67 KB to over three MB, which is pretty drastic for me.
Currently, I recommend using Wine on Linux for the Viewer. A few users have reported that this works quite well, even the setup …!
User avatar
Roberts_Clif
Reactions:
Posts: 1372
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: I wrote a bloat-free STL viewer

Post by Roberts_Clif »

Meet Vulkan

OpenGL, despite its cross-platform abilities, has been battling against DirectX for years now, and that's undoubtedly going to continue with Vulkan.
There's good news for Linux gamers "Porting between Vulkan and DirectX 12 won't be too hard," says Khronos Group president Neil Trevett.
User avatar
GrueMaster
Reactions:
Posts: 522
Joined: March 15th, 2017, 8:46 pm
Location: Oregon
3D Printer(s): Hictop 3DP-17, Hictop CR-10S

Re: I wrote a bloat-free STL viewer

Post by GrueMaster »

I'll probably look at a QT solution as that is what I am familiar with. I am the current owner of Win32DiskImager (although admittedly I haven't had time to do the next major round of updates in 2 years - time flies). Need to reinstall my Windows Development SSD in it's NUC so I have a Windows development platform again. It was offline for a few months, so will likely take hours for updates.
User avatar
LePaul
Reactions:
Posts: 3963
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul »

That's fine!

Can you offer the link to the program that allows the users to view the PreView if they view their files in File Explorer? And instructions for use?

Krishty wrote: February 21st, 2019, 2:06 pm @LePaul Hi!

Cool channel – my website is https://papas-best.com, with the STL Viewer at https://papas-best.com/stlviewer_en … feel free to mention anything. If you need information that cannot be found on the website, just ask me :)

I added the link to my signature, if that’s okay with the forum rules …



@GrueMaster, @Roberts_Clif: No problem; you should have gotten a private message with the source code. However, don’t get your hopes up too high:
  1. While Visual C++ has Linux support, it can only compile platform-independent applications.
  2. The STL Viewer uses Direct3D 11 for rendering (supported on any system with Windows 7 or later; no need to install special drivers; brings its own software renderer for weak systems), and a Linux port would mean re-writing the renderer in OpenGL or Vulkan.
  3. The STL Viewer uses the native Win32 API for its user interface. For a Linux port, one would have to use a platform-independent library like GTK or Qt. I looked at Qt and it would increase program size from just 67 KB to over three MB, which is pretty drastic for me.
Currently, I recommend using Wine on Linux for the Viewer. A few users have reported that this works quite well, even the setup …!
User avatar
Krishty
Reactions:
Posts: 29
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty »

The Windows Explorer STL thumbnail handler? Here you go:

https://papas-best.com/stlthumbnails_en

Run the setup and you should be fine. A restart may be required on Windows 7.

It does have the problem that the background of a thumbnail goes black occasionally. I’m still investigating that, but it’s one of the reasons I did not announce it publically yet.
Last edited by Krishty on March 9th, 2019, 6:30 am, edited 1 time in total.
User avatar
LePaul
Reactions:
Posts: 3963
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Re: I wrote a bloat-free STL viewer

Post by LePaul »

@Krishty , just to verify, this requires the STL viewer to be installed first, then this, correct?
Then set the View option in file explorer to an Icon setting (small, medium or large)
User avatar
Krishty
Reactions:
Posts: 29
Joined: December 3rd, 2017, 3:31 pm
Location: Germany
3D Printer(s): DaVinci
Contact:

Re: I wrote a bloat-free STL viewer

Post by Krishty »

No, it’s independent from the STL Viewer :)

Yes you should set the View option to an icon setting if Windows doesn’t do that automatically (the thumbnail handler does inform Windows that .stl is viewed best in an icon view, but Windows sometimes ignores that).
Post Reply

Return to “General 3D Printing Conversation”