This should be possible with this script. Simply delete all points in your node tree which you do not want to keep. For example like in the following image.
Select your index
Run the first script and play the time line to bake the frame range
I think this could be solved inside the Geonodes setup.
Since getting the rotation of faces is more complicated in GN than instances you could simply spawn a bunch of instances in the center of your faces with the help “dual mesh” node. I am not sure how you would grab the rotation. Perhaps the normals of the faces?
Or perhaps it works to simply pipe the face positions output into the Position Group output and use an “Align Euler to Vector” on the face normals and pipe the result into the Rotation Group output.
Just guessing here, as I need to work at the moment.
Here is a solution for the displaced wobble plane. The Python script is the same except that I noticed that a frame_change_post instead of a frame_change_pre handler is needed. You just have to know what to plug into the Geo Nodes outputs. And you have to know in which domain the attributes you are trying to get are in. In this case I had to change the attribute to be in the “face” domain.
I also added the possibility to select 4 indices at once. It should be clear from the Geo Nodes Tree how to add more.
So, I think there is no one size fits all solution for getting data out of Geo Nodes and you kind of have to know what you are doing. But if you are using Geo Nodes you have to know that anyway, and it is not that complicated to set it up so that it works.
All in all I think this can be quite flexible and useful if you want to get data out of Geo Nodes and into AFX or wherever else one might need it.
could you pls help me? I have somewhere same situation, but i’m not a pro in geometry nodes. I made an animation that I want to use in after effects, and I need to attach empty layers to the center of the cards. But I don’t know how to do it. I tried to dig around in the file you sent above, but it didn’t work
I haven’t tried using it with geometry nodes; it exports position/rotation/etc data from nulls, cameras, etc - so, if you’re able to use an attribute or driver to extrapolate the data from your node setup to an external (say, an empty), then it seems that it would work.