<p>Using the search terms, &quot;linux stl viewer,&quot; a number of results appear. One of the more promising programs, for Mac, Windows and Linux appears to be <a href="https://github.com/fstl-app/fstl" rel="noreferrer">fast stl viewer</a>, aka fstl. Image from linked site. Instructions included on the linked site to make fstl the default viewer for STL files.</p>
<p><a href="https://i.sstatic.net/4jJl1.png" rel="noreferrer"><img src="https://i.sstatic.net/4jJl1.png" alt="fstl screen capture" /></a></p>

CC BY-SA 4.0
2022-07-18T00:39:14.133Z
Does it have functionality to batch generate thumbnails?
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2023-10-31T20:56:39.857Z
^ This -- without the ability to generate thumbnail images from the STL files, it would be useless in this instance, the OP clearly needs some level of automation functionality that a GUI wouldn't provide.
Raleigh L.
CC BY-SA 4.0
2022-07-17T13:39:55.610Z
2022-07-17T13:39:55.610Z
fred_dot_u
<p>If you are on Linux, and a little capable in programming or scripting, a very handy tool is <a href="https://openscad.org/" rel="nofollow noreferrer">OpenSCAD</a>. It can even be used from the command line from a shell.</p>
<p>You can load in STL files and offset them in a graphical view or loop through a list.</p>

CC BY-SA 4.0
2022-07-17T20:15:03.060Z
It's not too hard to write a script to use OpenSCAD to generate thumbnails for every stl and then normal image viewers like gthumb will work.
user10489
CC BY-SA 4.0
2024-07-12T14:49:35.403Z
I tried to adapt this solution but my images appear to be blank
user84207
CC BY-SA 4.0
2022-07-17T11:44:59.127Z
2022-07-17T11:44:59.127Z
0scar
<pre><code>#!/bin/sh

if [ ! -d thumb ] ; then
  mkdir thumb
fi

for e in stl STL ; do
  for i in *.<span class="math-container">$e  ; do
    j=`basename "$</span>i&quot; .<span class="math-container">$e`
    if [ ! -f thumb/"$</span>j&quot;.png -o &quot;<span class="math-container">$i" -nt thumb/"$</span>j&quot;.png ] ; then
      echo <span class="math-container">$j
      echo "import(\"$</span>i\&quot;);&quot; &gt; x.scad
      openscad -o thumb/&quot;$j&quot;.png --imgsize=100,100 x.scad 
    fi
  done
done
rm -f x.scad
</code></pre>
<p>Quick and dirty script I've used to maintain a thumbnail directory.
It uses OpenScad to generate the default view for a part; not always the best view, but for most parts, this is sufficient.  Once you have the thumbnails, use gthumb or something to view them.</p>

CC BY-SA 4.0
2022-07-17T20:37:05.167Z
2022-07-17T22:48:21.293Z
2022-07-17T22:48:21.293Z
user10489
<p>Cura's probably your best bet.  You can select several STL files and it will open them all, (memory allowing) then try to place them for printing.  If they can't fit on your print bed the items get placed off to the side.  Clicking on the object will show its name in the lower-left, so you can go rename the file to be more representative.</p>
<p>Tinkercad can only import one item at a time, and tops out at 25 Mbytes.</p>

CC BY-SA 4.0
2022-07-17T20:39:32.503Z
prusaslicer (and probably most slicers) can do this as well.  I've used this method myself often for a small number of parts I want to choose between.
user10489
CC BY-SA 4.0
2022-07-17T11:35:58.087Z
2022-07-17T11:35:58.087Z
Criggie
<p>I'm a beginner in 3d printing, so please bear with me.</p>
<p>I downloaded a zip with about 100 STL files. I now want to pick one or two to print. The names of the stl files are not very helpful so I need to look at them to find the ones I want. I can open all of them one by one using Cura, or Tinkercad, but that is a very slow and long process with so many files. Ideally I would like to have an overview of all the files in little previews so that I can get an idea what they are to narrow down which files I need to open to inspect the details.</p>
<p>Is there a program with which I can do something like that? I'm on Linux, but tips about Windows/Mac software would also help since I can use it to search for Linux alternatives to that software. All tips are welcome!</p>

CC BY-SA 4.0
2022-07-17T20:46:33.467Z
I believe there are tools for both windows and mac that integrate with their respective file managers to give you live thumbnails of STLs.  Unfortunately, I haven't used either recently, so I don't know if they are still available.
user10489
CC BY-SA 4.0
2022-07-18T00:31:01.307Z
I can confirm that the macOS file manager "Finder" does give a preview thumbnail of the .stl but it is static. I did try the fast stl viewer suggested by fred_dot_U and it does give a full 360 deg view of the file.
agarza
<slicing><software>
Easy way to visually inspect/preview large amount of stl files (on Linux)?
kramer65
# Easy way to visually inspect/preview large amount of stl files (on Linux)?

(Asked by: username_0 on 2022-07-17)

I'm a beginner in 3d printing, so please bear with me.

I downloaded a zip with about 100 STL files. I now want to pick one or two to print. The names of the stl files are not very helpful so I need to look at them to find the ones I want. I can open all of them one by one using Cura, or Tinkercad, but that is a very slow and long process with so many files. Ideally I would like to have an overview of all the files in little previews so that I can get an idea what they are to narrow down which files I need to open to inspect the details.

Is there a program with which I can do something like that? I'm on Linux, but tips about Windows/Mac software would also help since I can use it to search for Linux alternatives to that software. All tips are welcome!

**Tags:** slicing, software
> **Comments:**
> **username_1**: I believe there are tools for both windows and mac that integrate with their respective file managers to give you live thumbnails of STLs.  Unfortunately, I haven't used either recently, so I don't know if they are still available.  
> **username_2**: I can confirm that the macOS file manager "Finder" does give a preview thumbnail of the .stl but it is static. I did try the fast stl viewer suggested by fred_dot_U and it does give a full 360 deg view of the file.  

---

## 4 answers

### Answer by username_3 on 2022-07-17. Score: 10

Using the search terms, "linux stl viewer," a number of results appear. One of the more promising programs, for Mac, Windows and Linux appears to be [fast stl viewer](https://github.com/fstl-app/fstl), aka fstl. Image from linked site. Instructions included on the linked site to make fstl the default viewer for STL files.

[![fstl screen capture](https://i.sstatic.net/4jJl1.png)](https://i.sstatic.net/4jJl1.png)

> **Comments:**
> **username_4**: Does it have functionality to batch generate thumbnails?  
> **username_5**: ^ This -- without the ability to generate thumbnail images from the STL files, it would be useless in this instance, the OP clearly needs some level of automation functionality that a GUI wouldn't provide.  

---

### Answer by username_1 on 2022-07-17. Score: 6

#!/bin/sh

if [ ! -d thumb ] ; then
  mkdir thumb
fi

for e in stl STL ; do
  for i in *.$e  ; do
    j=`basename "$i" .$e`
    if [ ! -f thumb/"$j".png -o "$i" -nt thumb/"$j".png ] ; then
      echo $j
      echo "import(\"$i\");" > x.scad
      openscad -o thumb/"$j".png --imgsize=100,100 x.scad 
    fi
  done
done
rm -f x.scad

Quick and dirty script I've used to maintain a thumbnail directory.
It uses OpenScad to generate the default view for a part; not always the best view, but for most parts, this is sufficient.  Once you have the thumbnails, use gthumb or something to view them.


---

### Answer by username_6 on 2022-07-17. Score: 4

If you are on Linux, and a little capable in programming or scripting, a very handy tool is [OpenSCAD](https://openscad.org/). It can even be used from the command line from a shell.

You can load in STL files and offset them in a graphical view or loop through a list.

> **Comments:**
> **username_1**: It's not too hard to write a script to use OpenSCAD to generate thumbnails for every stl and then normal image viewers like gthumb will work.  
> **username_7**: I tried to adapt this solution but my images appear to be blank  

---

### Answer by username_8 on 2022-07-17. Score: 1

Cura's probably your best bet. You can select several STL files and it will open them all, (memory allowing) then try to place them for printing. If they can't fit on your print bed the items get placed off to the side. Clicking on the object will show its name in the lower-left, so you can go rename the file to be more representative.

Tinkercad can only import one item at a time, and tops out at 25 Mbytes.

> **Comments:**
> **username_1**: prusaslicer (and probably most slicers) can do this as well.  I've used this method myself often for a small number of parts I want to choose between.  

---

