dkobozev/tatlin

[Feature request] thumbnailing

Closed this issue · 5 comments

Hi, I tried various gcode previews and this one is by far the best one. I think this feature is kind of simple to implement: generate thumbnails (non-interactively). Simply have an optional parameter, e.g. -thumbnail 64 and then generate a 64x64 png of the given stl or gcode. In opengGL you just calculate the bounding box and then make an orthographic view on it, then use PIL to output the bytestream as a PNG file.

Thanks, good to know someone out there still uses it. How would this be different than taking a screenshot with your OS built-in capabilities or a 3rd party program?

@dkobozev it could be used non-interactively as a thumbnailer for the file manager. In Linux, it would be Nautilus if you use the Gnome Desktop Environment or Unity. I already use openscad to generate STL thumbnails, but for g-code I do not have anything at the moment, and anyway I think your software is more adequate than a whole 3D modeller for that task.

If you get to implement that, I can make tutorial videos on how to use and set it up for thumbnails. What do you think?

An example of stl thumbnails in Nautilus. Very very useful.
fila_039

Oh, I see. That's an interesting idea, could indeed be very useful. I'll see if I can make it work.

Closing due to inactivity. I never got around to implementing it myself, but I like the feature suggestion and would welcome a pull request.