How to import an obj sequence into blender

How to import an obj sequence into blender

Script for importing with Geometry Nodes in Blender 4.2.
It did not work in my blender 4.2 environment despite trying various add-ons, but Vaticinator’s YouTube helped me solve the problem!
My script creates the Geo-Nodes configuration introduced by Vaticinator in one shot.

YouTube by Vaticinator for reference.
https://www.youtube.com/watch?v=KRxDyloJRYU

Obj files loading process

Create a new collection

create a new collection1
create a new collection1
create a new collection2
create a new collection2

Import obj files

File > Import > Wavefron(.obj)

Import obj1
Import obj1

Select all obj files and load them into the collection you just created.
If you want to match the scale of the scene with AfterEffects Element3D, set the scale to 0.025x. The reason is that the scene scale in AE and Blender is 1:40.

Import obj2
Import obj2
Import obj sequence
Import obj sequence

After loading the obj sequence, hide it.

exclude view layer
exclude view layer

Applying Geometry Nodes

Create objects for Geometry Nodes. Any object can be used.

create_object_for_GN
create_object_for_GN

Apply Geometry Nodes.

apply geometry nodes1
apply geometry nodes1

push new button

apply geometry nodes2
apply geometry nodes2

Applying the Script process

Preparation

Paste the script listed at the bottom of the article into a text tool and save it with the extension (.py).

Script tab

script tab
script tab

Open and run the saved python file

open the saved python file

open and run1
open and run1

run the saved python file

open and run2
open and run2

Choose Node Tree data

When the script is executed, Node Tree Data will be added to Geometry Nodes.

choose node tree1
choose node tree1
choose node tree2
choose node tree2

choose obj sequence collection

choose node tree3
choose node tree3

All Done!

done
done

Script

Paste into text tool and save with extension (.py)