You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace this function in the blender script under scripts
# load the glb modeldefload_object(object_path: str) ->None:
"""Loads a glb model into the scene."""ifobject_path.suffix==".glb":
bpy.ops.import_scene.gltf(filepath=str(object_path), merge_vertices=True)
elifobject_path.suffix==".fbx":
bpy.ops.import_scene.fbx(filepath=str(object_path))
elifobject_path.suffix==".obj":
bpy.ops.import_scene.obj(filepath=str(object_path))
else:
raiseValueError(f"Unsupported file type: {object_path}")
Hi ZexinHe, sorry to bother!.
I have a question about training with .obj files. Is this possible? or if you can give a hint on how to.
Thanks in advance!
The text was updated successfully, but these errors were encountered: