Thank you for your prompt response!
I might not be understanding your explanation. When you say “the result of the modifiers cached with the modifiers list” I am not precisely sure what this means. To put it precisely, in the Blender GUI, if I make a mesh, I can click and add modifiers so that they are on the modifier list. I don’t know if they are cached or not, and I don’t see a “cache” button to click. (Note that in my use case, I don’t really need a full animation; I am just going to take the image from a camera at frame X and that’s all I need.)
In Blender, I am familiar with “caches” when I use a cloth simulator, and I click “bake” to “cache” an animation, so that playing it in the Blender GUI is faster. However, that I use for debugging mostly. I normally use the Python API and step through frames one-by-one (and take the image at frame X), so I don’t know if a cache would be needed.
For reference, this was my original question about trying to do dynamic pinning and un-pinning of vertices of cloth at specific frame intervals:
Then the StackExchange question I linked to in my previous post was my attempt at solving my original question. I have yet to figure out how to do dynamic un-pinning and pinning of vertex groups (and it may be impossible to do in Blender), so my solution was to run a Blender Python script to save the cloth “state” (e.g., vertices), and then in a subsequent Blender Python script, load in that script with the same modifiers and do an action, then save and repeat. So one call to Blender does one “action.”
I skimmed the documentation for linked libraries, and it looks like that might be a way I can pursue my objectives, either in addition to (or in place of) the mesh cache modifier idea.
PS: not sure if you are on the Blender StackExchange, but I’ll upvote you if you wish to write something there.