Hi KWD.
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:
https://blender.stackexchange.com/questions/180199/pin-cloth-vertices-at-a-specific-set-of-frames-and-un-pin-otherwise-in-python
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.
Thanks again.
PS: not sure if you are on the Blender StackExchange, but Iāll upvote you if you wish to write something there.