Skip to content

trimesh failed to load .blend&.fbx&.FBX #46

@micky-li-hd

Description

@micky-li-hd

Hi
i want to ask how to solve the problem that trimesh can't load the file end with .blend&.fbx&.FBX

NotImplementedError Traceback (most recent call last)
Cell In[41], line 1
----> 1 mesh = trimesh.load('./car5.blend')
2 mesh

File ~/miniconda3/envs/step1x-3d/lib/python3.10/site-packages/trimesh/exchange/load.py:111, in load(file_obj, file_type, resolver, force, allow_remote, **kwargs)
81 """
82 THIS FUNCTION IS DEPRECATED but there are no current plans for it to be removed.
83
(...)
107 Loaded geometry as trimesh classes
108 """
110 # call the most general loading case into a Scene.
--> 111 loaded = load_scene(
112 file_obj=file_obj,
113 file_type=file_type,
114 resolver=resolver,
115 allow_remote=allow_remote,
116 **kwargs,
117 )
119 if force == "mesh":
120 # new code should use load_mesh for this
121 log.debug(
122 "trimesh.load(force='mesh') is a compatibility wrapper for trimesh.load_mesh"
...
240 # if we opened the file ourselves from a file name
241 # close any opened files even if we crashed out
242 if arg.was_opened:

NotImplementedError: file_type 'blend' not supported
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions