I want to obtain SKM thumbnails without loading

Is there a Ruby API that allows me to obtain SKM thumbnails without having to load them.

The save_thumbnail method is used to generate a thumbnail for any SKP file - not necessarily the loaded model.

Thank you for your answer.I know this API.But I need is the SKM API.

I see… :blush:

The .skm file is just a zip file, rename it (e,g. my_material.skm>>my_material.zip ) and inside you can find the doc_thumbnail.png.

Thank you. I never knew SKM was ZIP

You are welcome:
You do not need to delete your post, you can edit it instead… :wink:

OK,Thank you again :rofl:

1 Like