[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: something that can display a Thumbs.db?



On 2/11/23 13:20, Linux-Fan wrote:
gene heskett writes:

Greetings All;

I'm in the middle pages of trying to build a voron 2.4 kit, a 3d printer. Definitely not recommended for beginners. Very poor assembly instructions. I've printed two versions of them, over 500 pages in dead tree format but am getting poor and often out of order or missing finishing touches, obviously the work of a designer who assumes this is the 50th such project the user has built and Just Knows what to do next..

I have unpacked the .stl files to feed cura and they generally work, but each major section of the printed stuff also contains a Thumbs.db file. I'm not familiar with databases enough to know what to do, but being able to see whats in this file in thumbnail form would sure help me to build the next part I need. So what do we have that can display whats in these files, from a Chinese originator?

File says this about one of them:
Thumbs.db: Composite Document File V2 Document, Cannot read section info

Thumbs.db is a file generated by Windows OSes to speed up image previews. Users are not usually expected to need reading the file. On Windows systems such files are usually “hidden” (Windows does not follow the convention of the leading dot meaning hidden) such that they end up in all kinds of places where they are not expected/useful.

Unless you are looking to extract minature previews of some ofther files in that same directory, Thumbs.db may well be of little use to you.

Or in other Words: Whatever information you are missing and want to extract from there, is unlikely to be contained in the Thumbs.db.

Is there something that can display the contents of that?

Debian has a package called `vinetto`. When I tried it on some random `Thumbs.db` from Windows-originating files, it bailed out with

~~~
Traceback (most recent call last):
  File "/usr/bin/vinetto", line 418, in <module>
    print(" " + TNid + " " + TNtimestamp + " " + TNname)
TypeError: can only concatenate str (not "bytes") to str
~~~

That looks like a python2 -> python3 migration issue to me.

But: It extracted one thumbnail from the Thumbs.db that looks plausible.

If you must know about the Thumbs.db's contents, it might be interesting to try this tool.

HTH
Linux-Fan

I take it back, the man page showed me how to extract the thumbnail .jpg's so it is usefull.
now I have:
gene@coyote:~/Downloads/3dp.stf/trident/stl.stf_from_slipper/02面板安装部分$ ls -lR
total 2228
-rw-r--r-- 1 gene gene   3827 Feb 11 13:59 256_2d2493d05c55f5fe.jpg
-rw-r--r-- 1 gene gene   4186 Feb 11 13:59 256_426ee6c8f831d36.jpg
-rw-r--r-- 1 gene gene   4096 Feb 11 13:59 256_4ab7dd5f32a37df5.jpg
-rw-r--r-- 1 gene gene   3952 Feb 11 13:59 256_5307013a11fbed22.jpg
-rw-r--r-- 1 gene gene   4490 Feb 11 13:59 256_63d61390839bc3c8.jpg
-rw-r--r-- 1 gene gene   4701 Feb 11 13:59 256_998fc8153b45b98e.jpg
-rw-r--r-- 1 gene gene   3833 Feb 11 13:59 256_db1afa9086558c42.jpg
-rw-r--r-- 1 gene gene   4876 Feb 11 13:59 256_faf340636a3ac6f6.jpg
-rw-r--r-- 1 gene gene  75784 Sep 21  2021 bottom_panel_clip_x4.stl
-rw-r--r-- 1 gene gene 558984 Sep 21  2021 bottom_panel_hinge_x2.stl
-rw-r--r-- 1 gene gene 176284 Sep 21  2021 corner_panel_clip_3mm_x12.stl
-rw-r--r-- 1 gene gene 182384 Sep 21  2021 corner_panel_clip_6mm_x4.stl
-rw-r--r-- 1 gene gene 141884 Sep 21  2021 midspan_panel_clip_3mm_x12.stl
-rw-r--r-- 1 gene gene 143684 Sep 21  2021 midspan_panel_clip_6mm_x3.stl
-rw-r--r-- 1 gene gene  39936 Feb  9 09:31 Thumbs.db
-rw-r--r-- 1 gene gene 444584 Sep 21  2021 z_belt_cover_a_x2.stl
-rw-r--r-- 1 gene gene 444584 Sep 21  2021 z_belt_cover_b_x2.stl
drwxr-xr-x 2 gene gene   4096 Aug  4  2022 前门固定件

./前门固定件:
total 1660
-rw-r--r-- 1 gene gene 1437384 Sep 21  2021 door_hinge_x4.stl
-rw-r--r-- 1 gene gene   92784 Sep 21  2021 handle_a_x2.stl
-rw-r--r-- 1 gene gene   92784 Sep 21  2021 handle_b_x2.stl
-rw-r--r-- 1 gene gene   73684 Sep 21  2021 latch_x2.stl

but not an obvious way to link the hash number to the stl, and it did not extract the last 4 mini jpg's. But I'm still ahead of the game as I now know there's a subdir with 4 more stl's I didn't see before. Thanks, it turns out to be helpfull. Another read of the manpage shows me how to link them to real names, so further experimentation is in order. Thanks a bunch.

[...]

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: