Thumbnails (Preview) for 3mf, amf, obj, step, stl, x3d files

Install Workflow external scripts and create bash script to generate thumbnail for 3d models.

For generate thumbnail from obj, stl and x3d using minirender.
For 3mf, amf and step a temporary stl file is creating by PrusaSlicer.


  • Thumbnail generating when file adding or updating.
  • Thumbnail generating not immediately. Activating by cron.
  • Thumbnail generating for file less than set size.
  • Thumbnail not generating if png file already exist.

1 Like

simple and nice solution.

With the File actions app files_scripts, you can solve that without an external bash script.
In addition, you can create a thumbnail at any time, but it can also be generated event-controlled via cron, as with workflow_script. Advantage with files_scripts: data such as cloud_data_path and occ_path are automatically recognized or not required.
If triggered via actions_script in the context menu, you could also adjust the values for tilt and yaw, depending on the object, which is an absolute added value in my opinion.
Con: You must learn lua script, but that is not too much of an effort

1 Like

Replaced prusaslicer by gmsh to get support iges format.

sudo apt install gmsh