stl-thumb icon indicating copy to clipboard operation
stl-thumb copied to clipboard

Feature Request: Rotation Command Line parameters

Open J0nnyI opened this issue 2 years ago • 5 comments

Is it possible to add yaw/pitch/roll to the command line parameters?

I am working on integrating your project into my Stl File Organizer as thumbnail generator and would like to know if you could add an pitch/yaw/roll parameter to the command line arguments, so that I can adjust the rotation to match the in-app settings.

J0nnyI avatar May 27 '22 22:05 J0nnyI

This shouldn't be too hard to add. I'll look into it.

unlimitedbacon avatar May 30 '22 05:05 unlimitedbacon

thank you, I appreciate it

J0nnyI avatar May 30 '22 18:05 J0nnyI

Would it be more useful to use rotation (a set of angles) or the camera position relative to the object (x, y, z)?

unlimitedbacon avatar May 30 '22 21:05 unlimitedbacon

Would it be more useful to use rotation (a set of angles) or the camera potsition relative to the object (x, y, z)?

short: I think setting the rotation of the model would be the easiest, An additional parameter for the distance between camera and object would be nice too (since a part of the mdel is often out of frame if the shape is a bit unlucky)

Maybe providing model and camera rotation would be a good idea too, since the model rotation does change the lighting position, which the camera position has no effect on.

The usecase is that I want to create Thumbnails fo the Application and the models get a default rotation, since a lot of models are imported with a 90° pitch.

J0nnyI avatar May 30 '22 21:05 J0nnyI

Would it be more useful to use rotation (a set of angles) or the camera position relative to the object (x, y, z)?

Adjusting the camera position would be handy.

ostat avatar Oct 01 '22 11:10 ostat