I have a bunch of obj files, and as the tile says, I want to replace the bpy.ops.mesh.primitive_cube_add with my own obj files.
I didn't refer to ycb_demo.py because my obj files are very simple just like the primitives in demo_vis. They only contain vertices and faces, and with no materials.
I have a bunch of
obj
files, and as the tile says, I want to replace thebpy.ops.mesh.primitive_cube_add
with my ownobj
files.I didn't refer to
ycb_demo.py
because myobj
files are very simple just like the primitives in demo_vis. They only contain vertices and faces, and with no materials.How can I achieve this?